fix: login failed spelling

This commit is contained in:
DDDHuang 2022-06-07 14:08:41 +08:00
parent b3103a8701
commit cae59ae555
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ login(post, #{body := Params}) ->
}};
{error, R} ->
?SLOG(info, #{msg => "Dashboard login failed", username => Username, reason => R}),
{401, ?WRONG_USERNAME_OR_PWD, <<"Auth filed">>}
{401, ?WRONG_USERNAME_OR_PWD, <<"Auth failed">>}
end.
logout(_, #{