KharNam
2 months ago
793
3
Laravel

How to validate bcrypt password

Posted 2 months ago by KharNam

Hi everyone,I have just learned about laravel, I am having trouble validating the password, I tried to enter a normal password, but it seems that it only receives the password in the form of bcrypt, how can it receive the password normally? thanks

public function rules()
    {
        return [
            'email' => 'bail | required | exists:users,email',
            'password' => 'required | exists:users,password'
        ];
    }

Please sign in or create an account to participate in this conversation.