NIHVIVO-2694 Add methods and an exception to Authenticator, so we can tell when a user is not allowed to login.

This commit is contained in:
j2blake 2012-02-01 22:03:11 +00:00
parent 0a19ed7d86
commit 6986eb6308
12 changed files with 164 additions and 32 deletions

View file

@ -13,6 +13,10 @@
<#assign errorMessage = "No password supplied." />
</#if>
<#if errorLoginDisabled??>
<#assign errorMessage = "User logins are temporarily disabled while the system is being maintained." />
</#if>
<#if errorLoginFailed??>
<#assign errorMessage = "Email or Password was incorrect." />
</#if>