CMS Made Simple Core


[#9601] Custom messages in login

Created By: Joni Hasanen (hasanen)
Date Submitted: 2013-10-17 04:08

Assigned To:
Resolution: Accepted
State: Open
Custom messages in login
Detailed Description:
As I maintain securelogin module, it would be nice, if there's a way to show
customized message to user, for example to inform that s/he should check email
and follow the instructions.

Maybe sending event after successful login and method which is hooked into that,
returns object which contains a message and is login allowed. This event could
be used also in some other ways to check if login is allowed even when
credentials are correct.

Now there is LoginPost-event, but with that it is not possible to set any custom
error messages. User can be kept out by resetting session, but I don't think
that's the best way.


Date: 2015-10-12 04:29
Posted By: Kim Birkeland Skorgenes (master3395)

Agreed, every time i use this module, i don't get notified if i'm locked and
have to check my Mail, but i have started to get used to it xD

But it would be nice to have a message popping up saying to check E-mail.
Date: 2018-07-15 10:12
Posted By: Robert Campbell (calguy1000)

CMSMS 2.3 allows for a custom admin authentication module.  It is intended to
allow for things like 2FA for admin login, but
users can do the standard functionality there with custom messages if they want.

Updated: 2018-07-15 10:12
resolution_id: => 6