test cleanup
This commit is contained in:
@ -47,7 +47,7 @@ module Admin
|
||||
if user.update(reset_params)
|
||||
redirect_to admin_login_path, success: "Password has been reset. Please log in."
|
||||
else
|
||||
redirect_to(admin_reset_request_path)
|
||||
redirect_to admin_reset_request_path, flash: { error: "Password was not updated." }
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user