elgiborsolution/laravel-database-encryption

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

Opened this issue · 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
]);