fix(back): Improve error message when requesting reset passwords and new instructions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -694,7 +694,7 @@ defmodule Mobilizon.GraphQL.Resolvers.UserTest do
|
||||
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
|
||||
|
||||
assert hd(json_response(res, 200)["errors"])["message"] ==
|
||||
"You requested again a confirmation email too soon"
|
||||
"You requested again a confirmation email too soon. Please try again in a few minutes"
|
||||
|
||||
# Hammer time !
|
||||
Users.update_user(user, %{
|
||||
|
||||
Reference in New Issue
Block a user