Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

Symfony 4: allow only active accounts to login

$
0
0

So I'm using symfony 4 and I managed to add a field in the user's database table called "Active", if active equals 0 then the account is not activated and vice versa.So what I'm trying to do is that whenever a user who's account is not active tries to login, a message or an alert shows and tells him that his account is currently inactive. While an active user connects without any problem.I'm not using FOSUserBundle here. So can I do that manually ?


Viewing all articles
Browse latest Browse all 3924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>