diff --git a/webgui/footer.php b/webgui/footer.php index 848f9da..951c3af 100644 --- a/webgui/footer.php +++ b/webgui/footer.php @@ -1,5 +1,5 @@ diff --git a/webgui/globals.inc b/webgui/globals.inc index 4400403..8a70c25 100644 --- a/webgui/globals.inc +++ b/webgui/globals.inc @@ -12,6 +12,7 @@ * # Date Changes by * ------ ------------ ---------------------------------------------- ----- * 0.1.0 2024-03-12 Started development tho + ' 0.2.0 2026-08-18 First public release tho * */ @@ -47,7 +48,7 @@ define('ROLE_SAILOR', 'sailor'); // ========== PAGE START CODE ================================================= // global version string -$g_version = 'v0.1.1'; +$g_version = 'v0.2.0'; $g_scriptname = basename($_SERVER['SCRIPT_NAME']); @@ -88,6 +89,7 @@ try { break; case 1044: case 1045: + case 1698: // access denied to db or generic access denied echo "Unable to connect to database, perhaps username or password is wrong.\n"; break; @@ -274,7 +276,7 @@ class User { $row = $sth->fetch(PDO::FETCH_OBJ); $this->role = $row->role; $this->flags = array_filter(explode(',', $row->flags)); - if ($row->flags != 0 ) { + if (($row->flags != 0) and ($row->flags != '')) { // deleted or locked, intentionally not return detailed reason $this->errormessage = _('User account does not exist'); } elseif (password_verify($user_pass, $row->pass)) { diff --git a/webgui/manual.php b/webgui/manual.php index 3df8921..403625c 100644 --- a/webgui/manual.php +++ b/webgui/manual.php @@ -16,7 +16,7 @@ require 'header.php';
-Hinweis: Es handelt sich hier um einen Prototypen (Version =$g_version?>)!
+Hinweis: Es handelt sich hier um eine Vorschau (Version =$g_version?>)!
Einige Funktionen sind noch nicht oder nicht vollständig implementiert.
Rückmeldungen sind immer willkommen!