added an option to enable GA authentication

This commit is contained in:
SJ 2015-03-19 15:04:47 +01:00
parent fe78d817d4
commit 08aed7355c
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -92,6 +92,7 @@
</form>
<?php if(ENABLE_GOOGLE_AUTHENTICATOR == 1) { ?>
<form method="post" name="setqr" class="form-horizontal">
@ -113,6 +114,7 @@
</form>
<?php } ?>
<p>&nbsp;</p>

View File

@ -106,6 +106,7 @@
<p>&nbsp;</p>
<?php if(ENABLE_GOOGLE_AUTHENTICATOR == 1) { ?>
<div id="search">
@ -127,6 +128,7 @@
</div>
</div>
<?php } ?>
<p>&nbsp;</p>