F
Filament12mo 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
WrkL
WrkL12mo ago
did you store a plain text to the password field ? should use bcrypt('your-password-here')
krekas
krekas12mo ago
how are you changing password?
Hanai
HanaiOP12mo ago
From myphpadmin Not work
_Lietze
_Lietze12mo ago
try setting the password from a seeder, using the bcrypt method
WrkL
WrkL12mo ago
you shouldnt change password directly from phpmyadmin
_Lietze
_Lietze12mo ago
User::whereId($userId)->update(['password', bcrypt('password')])
User::whereId($userId)->update(['password', bcrypt('password')])
WrkL
WrkL12mo ago
'field' => bcrypt('password')
Hanai
HanaiOP12mo ago
I want to add a new user and I can’t set the password I just can press enter 😭
_Lietze
_Lietze12mo ago
php artisan make:filament-user many options for your problem, but i'm not entirely sure what you're looking for
Hanai
HanaiOP12mo ago
Yes i try can’t set the password
_Lietze
_Lietze12mo ago
please show what is going wrong code/errors
toeknee
toeknee12mo ago
You could just reset the password via the Reset by email option too...
Hanai
HanaiOP12mo ago
I want to login now
toeknee
toeknee12mo ago
The password is hidden on typing..... so type it and hit return.
_Lietze
_Lietze12mo ago
lol
Hanai
HanaiOP12mo ago
But in databases its bycript
Hanai
HanaiOP12mo ago
No description
Hanai
HanaiOP12mo ago
🤓🤓💔
toeknee
toeknee12mo ago
Yes.... but you login with the password you typed! It's obviously not going to be stored in plain text 🤣
Hanai
HanaiOP12mo ago
Ooooh i get it 😭😭 I thought its not typing any thing Can I remove the hide?
toeknee
toeknee12mo 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
HanaiOP12mo ago
At all just have basic 🤓
krekas
krekas12mo ago
Yeah learn more about laravel and php in general first before using filament
Hanai
HanaiOP12mo ago
Big thank you 🙏🏻 I will thank to all
ChesterS
ChesterS12mo ago
Also try pressing Windows Key + Shift + S for screenshots
Want results from more Discord servers?
Add your server