lundi 8 février 2016

Laravel 5.1 - When registering user App redirects to /dashboard but doesn't check if account is confirmed

When my users register in my app it automatically redirects them to /dashboard which is technically fine, but it isn't checking to see if the confirmed column in the database has a value of 1 or 0, it's just logging in based on the username and password.

I will happily include code but right now I don't actually know what code you guys need to see.

I need it to check the confirmed column and if it's a 0, not to log them in and throw and error.

thanks for any info,

Andy



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire