CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#9601] Custom messages in login

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

Assigned To:
Resolution: None
State: Open
Summary:
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.

History

Comments
avatar
Date: 2015-10-12 04:29
Posted By: Master3395 (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.