set user to deactivate when he attempts the wrong password more than 3 time
Permalink
hello everyone,
I want to add functionality on my concrete5 web application when user attempts the wrong password more than 3 times, his account will be blocked.
currently, system blocks the user IP when he gives the wrong password more than 3 times.
let me know if the concrete has any built-in functionality
Thanks, AbdulQayym
I want to add functionality on my concrete5 web application when user attempts the wrong password more than 3 times, his account will be blocked.
currently, system blocks the user IP when he gives the wrong password more than 3 times.
let me know if the concrete has any built-in functionality
Thanks, AbdulQayym
Thank you very much for replay the problem was solved.
your given information is very useful, can you please tell me one more adjustment if I want to add functionality "send an email when user deactivated"
is concrete5 provide this functionality or we have to add custom?
your given information is very useful, can you please tell me one more adjustment if I want to add functionality "send an email when user deactivated"
is concrete5 provide this functionality or we have to add custom?
I don't think there is a function built in to send an email, however it does appear that an event is fired, called 'on_before_user_deactivate'. You would be able to hook into that event and run whatever code you need including sending an email.
Seehttps://documentation.concrete5.org/developers/framework/application...
Seehttps://documentation.concrete5.org/developers/framework/application...
Thank you very much my problem was solved.
On there there's an 'Automatic User Deactivation' section at the bottom, and an option to 'Automatically deactivate users after failed login attempts.'