mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
added an option to enable GA authentication
This commit is contained in:
parent
fe78d817d4
commit
08aed7355c
@ -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
|
||||
|
||||
|
@ -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> </p>
|
||||
|
@ -106,6 +106,7 @@
|
||||
<p> </p>
|
||||
|
||||
|
||||
<?php if(ENABLE_GOOGLE_AUTHENTICATOR == 1) { ?>
|
||||
|
||||
<div id="search">
|
||||
|
||||
@ -127,6 +128,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
Loading…
Reference in New Issue
Block a user