Skip to content

Commit da52c97

Browse files
committed
Fix error type
1 parent d6501be commit da52c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/users_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def destroy
2929
Current.session = nil
3030
redirect_to root_path, notice: "Your account has been deleted", inertia: {clear_history: true}
3131
else
32-
redirect_to settings_profile_path, inertia: {errors: {password_challenge: ["Password challenge is invalid"]}}
32+
redirect_to settings_profile_path, inertia: {errors: {password_challenge: "Password challenge is invalid"}}
3333
end
3434
end
3535

0 commit comments

Comments
 (0)