mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:51:59 +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_PORT'] = 995;
|
||||||
$config['POP3_SSL'] = true;
|
$config['POP3_SSL'] = true;
|
||||||
|
|
||||||
|
$config['ENABLE_GOOGLE_AUTHENTICATOR'] = 1;
|
||||||
|
|
||||||
// enable authentication against google (disabled by default)
|
// enable authentication against google (disabled by default)
|
||||||
// see http://www.mailpiler.org/en/google-apps-free.html for details
|
// see http://www.mailpiler.org/en/google-apps-free.html for details
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<?php if(ENABLE_GOOGLE_AUTHENTICATOR == 1) { ?>
|
||||||
|
|
||||||
<form method="post" name="setqr" class="form-horizontal">
|
<form method="post" name="setqr" class="form-horizontal">
|
||||||
|
|
||||||
@ -113,6 +114,7 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
@ -106,6 +106,7 @@
|
|||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
|
|
||||||
|
<?php if(ENABLE_GOOGLE_AUTHENTICATOR == 1) { ?>
|
||||||
|
|
||||||
<div id="search">
|
<div id="search">
|
||||||
|
|
||||||
@ -127,6 +128,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
Loading…
Reference in New Issue
Block a user