I want to display a correct URL (defined in cas.properties) to users
without modify messages.properties.
I put a parameter to #{screen.mustchangepass.message} inn pwdupdatepass.html
file that override "{0}" variable in messages_XX.properties like it is
explained here :
http://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#variablesRegards, Le 21 juin 2017 16:25, "Pavlos Drandakis" <[email protected]> a écrit : On 21/06/2017 12:10 μμ, Ludovic Senecaux wrote: > Thanks Pavlos, it works ! > Glad to hear it :-) > > Have you found any workarouds for : > > 1/ the use of pwdGraceAuthNLimit > When pwdGraceAuthNLimit was enabled, I was keep getting NPE in logs and nothing in login form. After this change: https://github.com/apereo/cas/ pull/2697 everything seems to work, as expected (User is presented with the password.expiration.loginsRemain message ) > 2/ customize URL for password update (I tried to set > "#{screen.mustchangepass.message(${cas.authn.pm.changeUrl})}" in > pwdupdateform.html, but unsuccessfully) > I am not sure that I understand your question... Isn't editing screen.mustchangepass.message in messages.properties what you need? > > Regards, > Regards, Pavlos -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CADHpD4KA2vJjRx0%2B1DFz-_LNV%2B762ohnxfMpsX4sdqxKdbPVCg%40mail.gmail.com.
