Hi, I made your same path in finding a solution.
Our problem is that the reset link in plain text is misinterpreted by apple mail client, and when users click the link, the token is truncated at the first dot occurrence. @cas developers Would it be a possibility to add a property to be used to eventually add the 'true' for html text? If so we could even submit a pull request about it. best regards Michele On Monday, March 26, 2018 at 5:59:16 PM UTC+2, Marc Maurice wrote: > > Hello all, > > We need to send the reset password email in html instead of plain text > (marketing demands....). > > Looking at the source code it seems simple. It's just a matter of adding a > "true" parameter to tell spring that the email is in html : > > > https://github.com/apereo/cas/blob/5.2.x/core/cas-server-core-util/src/main/java/org/apereo/cas/util/io/CommunicationsManager.java#L102 > > https://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch26s03.html > > Do you know any simple way to patch the cas server core using the overlay > way ? Or do we have to compile the entire stack ? > > We really would like to keep the overlay system, in order to ease future > updates. > > Thanks in advance, > Marc > -- - 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/47369509-9b84-451a-b34b-005d342c554d%40apereo.org.
