fixed the qrcode creation dialog
[ga4php.git] / authserver / www / user_actions.php
index 35b1f8a..28852cf 100644 (file)
@@ -37,7 +37,7 @@ if(isset($_REQUEST["action"])) {
                                header("Location: index.php");
                        } else {
                                error_log("login failed, $username, $token");
-                               header("Location: index.php?message=loginfail");
+                               header("Location: index.php?error=".urlencode("Login Failed"));
                        }
                        break;
                case "logout":
@@ -49,4 +49,4 @@ if(isset($_REQUEST["action"])) {
                        
        }
 }
-?>
\ No newline at end of file
+?>