Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bushrakhalid786 opened this issue Dec 16, 2021 · 0 comments
Open

Comments

@bushrakhalid786
Copy link

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

@bushrakhalid786 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant