Try this:
text: "Hello! Your requested CAS token is ${token}"
Regards,
Hartmut
Mm Mm schrieb am Donnerstag, 26. Oktober 2023 um 10:49:14 UTC+2:
> I am trying to use simple mfa by email but when the email is received
> the space holder %s is the same and not replaced with token
> my configuration is
> cas:
> authn:
> mfa:
> triggers:
> global:
> global-provider-id: mfa-simple
> simple:
> order: 0
> token:
> core:
> token-length: '4'
> mail:
> attribute-name: mail
> text: "Hello! Your requested CAS token is ${{%s}}"
> from: [email protected]
> subject: CAS MFA Token
> time-to-kill-in-seconds: '30'
>
--
- 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/a83e9573-4177-405f-b71e-618e731c1ed2n%40apereo.org.