added an alert message for false credentials
This commit is contained in:
parent
0055c8ef85
commit
39d0d0306b
3 changed files with 12 additions and 12 deletions
|
|
@ -62,10 +62,10 @@ class Database {
|
|||
|
||||
header("Location: /profile");
|
||||
} else {
|
||||
echo "Anmeldung fehlgeschlagen!";
|
||||
echo '<script>alert("Anmeldung fehlgeschlagen!");</script>';
|
||||
}
|
||||
} else {
|
||||
echo "Anmeldung fehlgeschlagen!";
|
||||
echo '<script>alert("Anmeldung fehlgeschlagen!");</script>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue