We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6501be commit da52c97Copy full SHA for da52c97
app/controllers/users_controller.rb
@@ -29,7 +29,7 @@ def destroy
29
Current.session = nil
30
redirect_to root_path, notice: "Your account has been deleted", inertia: {clear_history: true}
31
else
32
- redirect_to settings_profile_path, inertia: {errors: {password_challenge: ["Password challenge is invalid"]}}
+ redirect_to settings_profile_path, inertia: {errors: {password_challenge: "Password challenge is invalid"}}
33
end
34
35
0 commit comments