laravel-database-encryption
laravel-database-encryption copied to clipboard
cannot pass Encryption String to Auth::attempt for email field
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 ]);