Don't show error position on wrongly sized password.
This commit is contained in:
parent
44f696e170
commit
d9fc823886
@ -185,8 +185,9 @@ render { current_tab, authenticationForm, passwordRecoveryForm, newPasswordForm,
|
||||
|
||||
show_error_password :: P.Error -> String
|
||||
show_error_password = case _ of
|
||||
P.ParsingError {error, position} ->
|
||||
"position " <> show position <> " " <> maybe "" string_error_password error
|
||||
--P.ParsingError {error, position} ->
|
||||
-- "position " <> show position <> " " <> maybe "" string_error_password error
|
||||
P.ParsingError {error} -> maybe "" string_error_password error
|
||||
|
||||
string_error_password :: P.PasswordParsingError -> String
|
||||
string_error_password = case _ of
|
||||
|
Loading…
Reference in New Issue
Block a user