Merge pull request #1907 from grypho/master

Bugfix: Replaced deprecated .class.name call.
This commit is contained in:
Jeroen Baten 2019-07-02 12:31:24 +02:00 committed by GitHub
commit 4ac9de191e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
]]>