[% IF ctx.login_failed_event %]
[% IF ctx.login_failed_event.textcode == 'PATRON_CARD_INACTIVE'; l("The barcode used to login is marked as inactive. Please contact your local library."); ELSIF ctx.login_failed_event.textcode == 'PATRON_INACTIVE'; l("This account has been deactivated. Please contact your local library."); ELSE; l("Login failed. The username or password provided was not valid. Ensure Caps-Lock is off and try again or contact your local library."); END; %]
[% END %]
[% INCLUDE "default/opac/parts/login/help.tt2" %]