click event

This commit is contained in:
2022-08-02 22:44:34 +02:00
parent a05f0db745
commit d7eb43f4b1
4 changed files with 13 additions and 3 deletions

View File

@@ -10,6 +10,9 @@ document.getElementById("signin").addEventListener("submit", function(evt){
.catch(function(error){
switch (error.response.status){
case 400:
id = "alertRequest"
break;
case 406:
id = "alertPassword";
break;