Тёмный
No video :(

10 - Change Password in Laravel 

Hike Coding Knowledge
Подписаться 2,5 тыс.
Просмотров 16 тыс.
50% 1

Change password functionality in laravel for authenticated (logged in) user.

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@pastreality
@pastreality День назад
why this profile js cant called? i try same with this tutorial
@Shriram-ht1tu
@Shriram-ht1tu 2 года назад
how to store encrypted password in user database? also is there a way to check without hash function?
@hikecodingknowledge
@hikecodingknowledge 2 года назад
You can use Hash::make('your password') or bcrypt('your pasword') to encrypt the password before storing . Or you can add the below method in your user model. It will automatically encrypt your password and u don't need to call bcrypt/ Hash::make()-> public function setPasswordAttribute($value){ $this->attributes['password']=bcrypt($value); }
@Shriram-ht1tu
@Shriram-ht1tu 2 года назад
@@hikecodingknowledge thanks, also in update_password its showing undefined method UPDATE
@hikecodingknowledge
@hikecodingknowledge 2 года назад
Can you please give me your update_password method so that i can find where is the error
@Shogunez
@Shogunez 2 года назад
thank you for sharing such a tutorial, is it possible to change password without use check method? I want to change password instant for admin user
@hikecodingknowledge
@hikecodingknowledge 2 года назад
Ofcoz u can, if u don't wanna check old password then just remove the if condition where we r checking the old password currently
@Shogunez
@Shogunez 2 года назад
@@hikecodingknowledge it's successfully updates user name password, but unable to login by updated password, so confused haha (token recreated in DB)
@hikecodingknowledge
@hikecodingknowledge 2 года назад
@@Shogunez make sure u have hashed user's password d during updates
@Shogunez
@Shogunez 2 года назад
I found out that you can create bcrypt in User model like this -> public function setPasswordAttribute($value){ $this->attributes['password'] = bcrypt($value); }
@hikecodingknowledge
@hikecodingknowledge 2 года назад
@@Shogunez this is called setter. This is another way to hash user's password. Keep it up 👍
@levitheackerman1481
@levitheackerman1481 3 года назад
Upload repo sir thanks
@hikecodingknowledge
@hikecodingknowledge 3 года назад
Get the full code from the following git repo github.com/rajupaul/laravel_auth_system ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ciKTzbDVLWQ.html
Далее
11- Logout functionality in Laravel
7:21
Просмотров 1,4 тыс.
How to Reset Password in Laravel
38:46
Просмотров 22 тыс.
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 1,6 млн
#JasonStatham being iconic
00:38
Просмотров 274 тыс.
Change password API in LARAVEL
8:49
Просмотров 6 тыс.
Become a PRO at Using Components in Laravel
32:51
Просмотров 36 тыс.
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 1,6 млн