F
Filament6mo ago
Hanai

can’t make user yo my admin panel

Hi i try to make a new user to my panel and I can’t set the password it’s generated by its self And if i change the password from myphp sql It’s say the following 😭💔
No description
25 Replies
Antoni
Antoni6mo ago
did you store a plain text to the password field ? should use bcrypt('your-password-here')
krekas
krekas6mo ago
how are you changing password?
Hanai
Hanai6mo ago
From myphpadmin Not work
Lietze
Lietze6mo ago
try setting the password from a seeder, using the bcrypt method
Antoni
Antoni6mo ago
you shouldnt change password directly from phpmyadmin
Lietze
Lietze6mo ago
User::whereId($userId)->update(['password', bcrypt('password')])
User::whereId($userId)->update(['password', bcrypt('password')])
Antoni
Antoni6mo ago
'field' => bcrypt('password')
Hanai
Hanai6mo ago
I want to add a new user and I can’t set the password I just can press enter 😭
Lietze
Lietze6mo ago
php artisan make:filament-user many options for your problem, but i'm not entirely sure what you're looking for
Hanai
Hanai6mo ago
Yes i try can’t set the password
Lietze
Lietze6mo ago
please show what is going wrong code/errors
toeknee
toeknee6mo ago
You could just reset the password via the Reset by email option too...
Hanai
Hanai6mo ago
I want to login now
toeknee
toeknee6mo ago
The password is hidden on typing..... so type it and hit return.
Lietze
Lietze6mo ago
lol
Hanai
Hanai6mo ago
But in databases its bycript
Hanai
Hanai6mo ago
No description
Hanai
Hanai6mo ago
🤓🤓💔
toeknee
toeknee6mo ago
Yes.... but you login with the password you typed! It's obviously not going to be stored in plain text 🤣
Hanai
Hanai6mo ago
Ooooh i get it 😭😭 I thought its not typing any thing Can I remove the hide?
toeknee
toeknee6mo ago
Oh dear, I presume you are not a laravel developer. I highly suggest you learn basic PHP Development before jumping into Laravel and Filament
Hanai
Hanai6mo ago
At all just have basic 🤓
krekas
krekas6mo ago
Yeah learn more about laravel and php in general first before using filament
Hanai
Hanai6mo ago
Big thank you 🙏🏻 I will thank to all
ChesterS
ChesterS6mo ago
Also try pressing Windows Key + Shift + S for screenshots