The default user password in the “UsersTableSeeder.php” is in an encrypted format instead of plaintext. What encryption has been used for it in the Laravel-Core-UI-AdminPanel? If I want to change it to a plaintext of my choice, would I have to change the type of encryption anywhere?
UPDATE: I changed the encrypted password to plaintext and ran (lets keep the user as ‘user’ and plaintext password as ‘pass’:
php artisan migrate:refresh --seed
my users table in the database shows user: user and password: pass.
But when i use these credentials, it says ‘invalid credentials’. From my understanding, it is hashing my password and checking whether the hash matches with the password in DB but ofc. the hashed value will not be equal to ‘pass’. How do I make it compare it with the password as it is from the database instead of hashing it and then verifying?
(This is for testing purpose. I do understand that storing passwords in plaintext form is not safe).
Thanks in advance