From 08aed7355caba2a8b6d44a5261ace9008c7809b6 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 19 Mar 2015 15:04:47 +0100 Subject: [PATCH] added an option to enable GA authentication --- webui/config.php | 2 ++ webui/view/theme/default/templates/user/settings.tpl | 2 ++ webui/view/theme/mobile/templates/user/settings.tpl | 2 ++ 3 files changed, 6 insertions(+) diff --git a/webui/config.php b/webui/config.php index 9dbcbae4..00b84764 100644 --- a/webui/config.php +++ b/webui/config.php @@ -120,6 +120,8 @@ $config['POP3_HOST'] = 'mail.yourdomain.com'; $config['POP3_PORT'] = 995; $config['POP3_SSL'] = true; +$config['ENABLE_GOOGLE_AUTHENTICATOR'] = 1; + // enable authentication against google (disabled by default) // see http://www.mailpiler.org/en/google-apps-free.html for details diff --git a/webui/view/theme/default/templates/user/settings.tpl b/webui/view/theme/default/templates/user/settings.tpl index c1f7149e..73c21070 100644 --- a/webui/view/theme/default/templates/user/settings.tpl +++ b/webui/view/theme/default/templates/user/settings.tpl @@ -92,6 +92,7 @@ +
@@ -113,6 +114,7 @@
+

 

diff --git a/webui/view/theme/mobile/templates/user/settings.tpl b/webui/view/theme/mobile/templates/user/settings.tpl index 082c616d..41e4f682 100644 --- a/webui/view/theme/mobile/templates/user/settings.tpl +++ b/webui/view/theme/mobile/templates/user/settings.tpl @@ -106,6 +106,7 @@

 

+ +