User Deactivated by Admin Should Not Be Allowed to Activate Again #1097
Unanswered
EliMariaaaa
asked this question in
Q&A
Replies: 2 comments
Try using $user->ban(); |
0 replies
|
The activation and deactivation logic is related to email confirmation. If you want to prevent the user from entering, you must block the user. See the link below: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello! I'd like to not allow the user to login if the admin deactivated his/her account. I use the
$user->deactivate()code. But when I login the deactivated account, I get an email activation email. How can I differentiate the email activation for newly registered users and the one that the admin deactivated?All reactions