I need a way to show a user a message during login, based on a condition around their user account's create date -- basically, to remind them that it has been more than 30 days and they should reset their password.
I'd like to present the message in the same way that an invalid password is presented on the login screen.
I think this is rather a question for the developers forum, because from my understanding you would either have to create a plugin for that, or if it is not possible with a plugin, you probably need to "hack" the LS core.
So I'll move this question to the developers forum.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
1. Create a table to save the datetime of last password change
2. Use afterLoginFormSubmit event to redirect a page dedicated for updating the password after login
3. Create the password update page
4. Disallow all other admin page (beofreControllerAction)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.