From 39d0d0306be5584b6cd9b543acfa13b29cf54fe2 Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Tue, 24 Jan 2023 08:10:43 +0100 Subject: [PATCH] added an alert message for false credentials --- Database.php | 4 ++-- views/403.php | 8 ++++---- views/404.php | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Database.php b/Database.php index 1b39704..331edd1 100644 --- a/Database.php +++ b/Database.php @@ -62,10 +62,10 @@ class Database { header("Location: /profile"); } else { - echo "Anmeldung fehlgeschlagen!"; + echo ''; } } else { - echo "Anmeldung fehlgeschlagen!"; + echo ''; } } diff --git a/views/403.php b/views/403.php index 1729868..4cd3642 100644 --- a/views/403.php +++ b/views/403.php @@ -1,10 +1,10 @@ -
-
-

Unauthorized

+
+
+

Unauthorized

- Go back home. + Go back home.

diff --git a/views/404.php b/views/404.php index 85740ed..984f97d 100644 --- a/views/404.php +++ b/views/404.php @@ -1,12 +1,12 @@ -
-
-

Sorry. Page Not Found.

-

- Go back home. +

+
+

Sorry. Page Not Found.

+

+ Go back home.

- \ No newline at end of file +