Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SIGPUBLIC
unantes-orientation-active
Commits
027d805b
Commit
027d805b
authored
Sep 29, 2021
by
Django Janny
Browse files
UNOTOPLYS-326 - Erreur à l'authentification lorsque j'utilise un mot de passe trop court
parent
677a4fc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/app/views/account/login/login.component.ts
View file @
027d805b
...
@@ -34,7 +34,7 @@ export default class Login extends mixins(AccountMixin) {
...
@@ -34,7 +34,7 @@ export default class Login extends mixins(AccountMixin) {
this
.
getAccountService
().
retrieveAccount
();
this
.
getAccountService
().
retrieveAccount
();
})
})
.
catch
(
error
=>
{
.
catch
(
error
=>
{
if
(
error
.
response
.
data
.
detail
.
endsWith
(
'
not activated
'
))
{
if
(
error
?
.
response
?
.
data
?
.
detail
?
.
endsWith
(
'
not activated
'
))
{
this
.
authenticationError
=
'
not.activated
'
;
this
.
authenticationError
=
'
not.activated
'
;
}
else
{
}
else
{
this
.
authenticationError
=
'
credentials
'
;
this
.
authenticationError
=
'
credentials
'
;
...
...
src/main/webapp/app/views/account/login/login.vue
View file @
027d805b
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
:placeholder=
"$t('login.form.password.placeholder')"
:placeholder=
"$t('login.form.password.placeholder')"
required=
"true"
required=
"true"
@
update=
"password = $event"
@
update=
"password = $event"
minlength=
"4"
/>
/>
</div>
</div>
<div
class=
"m-8 text-center"
>
<div
class=
"m-8 text-center"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment