Merge pull request #1907 from grypho/master
Bugfix: Replaced deprecated .class.name call.
This commit is contained in:
commit
4ac9de191e
1 changed files with 2 additions and 2 deletions
|
|
@ -132,13 +132,13 @@
|
|||
|
||||
<n:td width="450" height="165" valign="top">
|
||||
|
||||
<html if="${loginError == 'true' and SPRING_SECURITY_LAST_EXCEPTION.class.name == 'org.springframework.security.authentication.DisabledException'}">
|
||||
<html if="${loginError == 'true' and SPRING_SECURITY_LAST_EXCEPTION['class'].name == 'org.springframework.security.authentication.DisabledException'}">
|
||||
<![CDATA[
|
||||
<div class="login_ERROR">${i18n:_('User disabled')}</div>
|
||||
]]>
|
||||
</html>
|
||||
|
||||
<html if="${loginError == 'true' and SPRING_SECURITY_LAST_EXCEPTION.class.name == 'org.springframework.security.authentication.BadCredentialsException'}">
|
||||
<html if="${loginError == 'true' and SPRING_SECURITY_LAST_EXCEPTION['class'].name == 'org.springframework.security.authentication.BadCredentialsException'}">
|
||||
<![CDATA[
|
||||
<div class="login_ERROR">${i18n:_('Incorrect authentication')}</div>
|
||||
]]>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue