[% 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. " _
"Passwords are case-sensitive. Check your Caps-Lock key and try again or contact your local library.");
END;
%]
[% END %]
[% INCLUDE "opac/parts/login/help.tt2" %]