laravel-database-encryption icon indicating copy to clipboard operation
laravel-database-encryption copied to clipboard

cannot pass Encryption String to Auth::attempt for email field

Open bushrakhalid786 opened this issue 3 years ago • 0 comments

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 ]);

bushrakhalid786 avatar Dec 16 '21 14:12 bushrakhalid786