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 ?
↧