You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Laravel\Nova\Auth\Actions\UpdateUserPassword action uses the hard-coded web guard for the current_password rule.
When using Nova with custom auth guards, this fails.
The solution would be to use the Util::userGuard() method that is already used everywhere else.
Detailed steps to reproduce the issue on a fresh Nova installation:
Set guard to something different than web and have different User models / tables.
Go to the Profile and try to update the password.
The text was updated successfully, but these errors were encountered:
Description:
The
Laravel\Nova\Auth\Actions\UpdateUserPassword
action uses the hard-codedweb
guard for the current_password rule.When using Nova with custom auth guards, this fails.
The solution would be to use the
Util::userGuard()
method that is already used everywhere else.Detailed steps to reproduce the issue on a fresh Nova installation:
guard
to something different thanweb
and have different User models / tables.The text was updated successfully, but these errors were encountered: