If an Auto Login Link is expired or if the maximum of page views has been reached, an error message will appear on the login page. |
If you do not want to display any messages from the module, then disable the Javascript Mode and dont insert this code into your login.tpl file. |
It is possible to modify the output of the messages:
If you prefer to manually adjust the template, disable the javascript mode at the module settings and insert following code into your login.tpl file:
{if $ModAutologin_InvalidLink} <div class='panel panel-danger'> <div class='panel-heading'> <h3 class='panel-title'><strong>{$LANG.autologinfrommail_invalid_head}</strong></h3> </div> <div class='panel-body text-center' style='font-size: 15px;'>{$LANG.autologinfrommail_invalid_body} </div> </div> {/if} {if $ModAutologin_MaxViewsReached} <div class='panel panel-danger'> <div class='panel-heading'> <h3 class='panel-title'><strong>{$LANG.autologinfrommail_maxviews_head}</strong></h3> </div> <div class='panel-body text-center' style='font-size: 15px;'>{$LANG.autologinfrommail_maxviews_body} </div> </div> {/if} {if $ModAutologin_TwoFactorAuth} <div class='panel panel-danger'> <div class='panel-heading'> <h3 class='panel-title'><strong>{$LANG.autologinfrommail_twofactor_head}</strong></h3> </div> <div class='panel-body text-center' style='font-size: 15px;'>{$LANG.autologinfrommail_twofactor_body} </div> </div> {/if} |