Change password failed on laravel 11 #51930
Unanswered
lengjunbin-trec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
11.0
PHP Version
8.3
Database Driver & Version
No response
Description
on laravel 7.I use
logoutOtherDevices
method to change password.when I use this method on laravel 11 to change password.the message shows successful.but in fact.the password not be changed.
I compare the source code. laravel 11 miss
$this->user()->forceFill(['password' => Hash::make('xxxxxx'), ])->save();
part.not sure if this is a bug
Steps To Reproduce
call
auth()->user()->logoutOtherDevices($password)
.shows successful.but not update password
Beta Was this translation helpful? Give feedback.
All reactions