From 60586c3611462c6d254b5a1d4691b93939380760 Mon Sep 17 00:00:00 2001 From: joker-x Date: Sun, 6 Sep 2020 03:18:55 +0200 Subject: [PATCH] Fix logout CAS from menu --- client/src/root.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/root.js b/client/src/root.js index f6e3dfea..5a3f7e55 100644 --- a/client/src/root.js +++ b/client/src/root.js @@ -96,7 +96,8 @@ class Root extends Component { {getLanguageChooser(t)} {t('account')} - {t('logOut')} + {mailtrainConfig.authMethod == 'cas' && {t('logOut')}} + {mailtrainConfig.authMethod != 'cas' && {t('logOut')}}