Problem
Both UpdateUserProfileInformation and UpdateUserPassword Fortify action classes are absent from app/Actions/Fortify/. Users cannot update their name/email or change their password through the application.
Required Changes
- Create
app/Actions/Fortify/UpdateUserProfileInformation.php implementing UpdatesUserProfileInformation
- Create
app/Actions/Fortify/UpdateUserPassword.php implementing UpdatesUserPasswords
- Register both in
FortifyServiceProvider via Fortify::updateUserProfileInformationUsing() and Fortify::updateUserPasswordsUsing()
- Verify
config/fortify.php has updatePasswords and updateProfileInformation in the features array
Files
app/Actions/Fortify/UpdateUserProfileInformation.php (new)
app/Actions/Fortify/UpdateUserPassword.php (new)
app/Providers/FortifyServiceProvider.php
config/fortify.php
Problem
Both
UpdateUserProfileInformationandUpdateUserPasswordFortify action classes are absent fromapp/Actions/Fortify/. Users cannot update their name/email or change their password through the application.Required Changes
app/Actions/Fortify/UpdateUserProfileInformation.phpimplementingUpdatesUserProfileInformationapp/Actions/Fortify/UpdateUserPassword.phpimplementingUpdatesUserPasswordsFortifyServiceProviderviaFortify::updateUserProfileInformationUsing()andFortify::updateUserPasswordsUsing()config/fortify.phphasupdatePasswordsandupdateProfileInformationin the features arrayFiles
app/Actions/Fortify/UpdateUserProfileInformation.php(new)app/Actions/Fortify/UpdateUserPassword.php(new)app/Providers/FortifyServiceProvider.phpconfig/fortify.php