Skip to content
Snippets Groups Projects
Commit 9c565a7e authored by nd's avatar nd
Browse files

fix a bug wich resulted in self service always asking for a password

parent e6d766b4
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<form action="{{ url_for("selfservice.update") }}" method="POST" onInput=" <form action="{{ url_for("selfservice.update") }}" method="POST" onInput="
password2.setCustomValidity(password1.value != password2.value ? 'Passwords do not match.' : ''); password2.setCustomValidity(password1.value != password2.value ? 'Passwords do not match.' : '');
password1.setCustomValidity((password1.value.length < 8 || password1.value.length == 0) ? 'Password is too short' : '') "> password1.setCustomValidity((password1.value.length < 8 && password1.value.length > 0) ? 'Password is too short' : '') ">
<div class="align-self-center row"> <div class="align-self-center row">
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<label for="user-uid">Uid</label> <label for="user-uid">Uid</label>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment