Improved the warning for certificate login

This commit is contained in:
root 2008-06-08 15:29:08 +00:00
parent ebe2bd38c5
commit 665c8f59c0

View file

@ -17,7 +17,7 @@
*/ ?> */ ?>
<?=$_SERVER['SSL_CLIENT_M_SERIAL']?> <?=$_SERVER['SSL_CLIENT_M_SERIAL']?>
<? if($_SESSION['_config']['hostname'] == $_SESSION['_config']['securehostname']) { ?> <? if($_SESSION['_config']['hostname'] == $_SESSION['_config']['securehostname']) { ?>
<p><?=_("Warning! You've attempted to log into the system with a client certificate, but the login failed due to the certificate being expired, revoked or simply not valid for this site. You can login using your Email/Pass Phrase to get a new certificate, by clicking on 'Normal Login' to the right of your screen.")?></p> <p><?=_("Warning! You've attempted to log into the system with a client certificate, but the login failed due to the certificate being expired, revoked, disabled for certificate login, or simply not valid for this site. You can login using your Email/Pass Phrase to get a new certificate, by clicking on 'Normal Login' to the right of your screen.")?></p>
<? } else { ?> <? } else { ?>
<style> <style>
.box2 {width:100%;text-align:center;} .box2 {width:100%;text-align:center;}