Hi BN,

Seems like you can override this file to set a custom URL.

https://github.com/apereo/cas/blob/v6.3.3/support/cas-server-support-thymeleaf/src/main/resources/templates/fragments/pwdupdateform.html#L154

However, I suspect this link can be set somewhere else as well, maybe you 
can trace the logic see if you can find where it is set.
If not, I think this is a bug, seems weird you need to override a file to 
change such a URL....

See if this helps,

Cheers!
Andy



On Tuesday, 30 March 2021 at 22:08:23 UTC+8 Bartosz Nitkiewicz wrote:

> Hi.
> After successful login to CAS I see password expiration days warning. In 
> polish messages_pl.properties there is section:
>
> password.expiration.warning=Termin ważności hasła upływa za {0} dni. 
> Proszę <a href="{0}" class="link-change-password">zmienić hasło</a>
>
> It gives me something like this:
> Termin ważności hasła upływa za *11* <- this is proper value dni. Proszę *11 
> *zmienić hasło.
>
> I noticed that in other languages there is: Please <a href="{1}" 
> class="link-change-password">change your password</a>. So I've changed it 
> to *1.*
>
> I want to set this value for custom URL with application for changing 
> password.
> Where should I look for it? Maybe there is some cas.properties setting for 
> it?
> Any hints?
> Regards
> BN
>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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/b976ad5e-e73a-40a5-8cdc-688e03d01300n%40apereo.org.

Reply via email to