5 months ago

how to change user status to unverified email

Posted 5 months ago by kisaw88

hello, i'am writing a PATCH request to the users table here is the code

$user = User::where('email',$email)->get()->first();

    return redirect('/comptes');

,when the email gets changed i want to make sure that the user verifies the the new email , how do i do it ?

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