Merge pull request #5211 from goodygh/5175-fix-mobileconfig-redirect

[web] Fix typo in mobileconfig redirect
This commit is contained in:
Patrick Schult 2023-05-08 15:55:50 +02:00 committed by GitHub
commit e38c27ed67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ if (isset($_POST["login_user"]) && isset($_POST["pass_user"])) {
unset($_SESSION['index_query_string']); unset($_SESSION['index_query_string']);
if (in_array('mobileconfig', $http_parameters)) { if (in_array('mobileconfig', $http_parameters)) {
if (in_array('only_email', $http_parameters)) { if (in_array('only_email', $http_parameters)) {
header("Location: /mobileconfig.php?email_only"); header("Location: /mobileconfig.php?only_email");
die(); die();
} }
header("Location: /mobileconfig.php"); header("Location: /mobileconfig.php");