Skip to content
Snippets Groups Projects
Commit 1e8ad237 authored by Florent's avatar Florent
Browse files

fix error message display on forgotten password

parent 1a3900d4
No related branches found
No related tags found
No related merge requests found
Pipeline #5097 passed
......@@ -133,6 +133,7 @@ label.required:after {
}
}
.toast {
min-width: 250px;
max-width: 600px;
font-size: 1rem;
}
......
......@@ -23,7 +23,11 @@ export class ErrorService {
}
}
}
recurse(errorObj);
if (typeof errorObj === 'object') {
recurse(errorObj);
} else if (typeof errorObj === 'string') {
messages.push(`<li>${errorObj}</li>`);
}
// Toastr option for error messages
toastr.options = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment