You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
bushrakhalid786
changed the title
cannot pass Encryption String to Auth::attempt for email
cannot pass Encryption String to Auth::attempt for email field
Dec 16, 2021
Hi, I can only find a way to pass encrypt string. How to convert a string to encrypted version and then pass to Auth builtin functions like
$request->email needs to be pass as encrypted to match the database encrypted email field
$attempt = Auth::attempt([
'email' => $request->email,
'password' => $request->password
]);
The text was updated successfully, but these errors were encountered: