iamine
5 months ago
825
5
Laravel

Unique email validation using "unique:users,email"

Posted 5 months ago by iamine

My question is about email validation must be unique on the 'users' table:

for example, if we already have this email "[email protected]" exists on users table,

then we try to register using this email "[email protected]"

Note: Capital Letter

this will pass the validation and inserted on the users table

for logic "[email protected]" and "[email protected]" are not the same, but as we know are the same in case of password reset so both of email will go to the Gmail same account

Please sign in or create an account to participate in this conversation.