Skip to content

Commit

Permalink
password reset check
Browse files Browse the repository at this point in the history
  • Loading branch information
slabia committed Oct 27, 2021
1 parent c9a77bd commit a8ee5b4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions aliss/templates/account/password_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ <h1>Reset your password</h1>
<script>
document.getElementById("Check").style.display = "none";
function DoSubmit(){
if(document.getElementById('idOfInput').value != ""){
alert("Only registered user are able to send a request");
return false;
}
return true;

if(document.getElementById("Check").value.length == 0)
{
alert("Only registered user are able to send a request");
}

}
</script>
{% endblock %}

0 comments on commit a8ee5b4

Please sign in to comment.