Skip to content

Commit

Permalink
Update options.php
Browse files Browse the repository at this point in the history
Bugfix for validating new setups
  • Loading branch information
finalwebsites authored Sep 14, 2022
1 parent 63c509a commit 04708b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$slug = $db->querySingle("SELECT slug FROM logins WHERE 1 LIMIT 0,1");
if ($res['confirmed'] == 'yes') {
get_authorized();
} elseif ($res['confirmed'] == 'no' && empty($slug)) {
} elseif ($res['confirmed'] == 'no' && $slug != NULL) {
header('Location: '.BASE_URL.'login.php?msg=inprogress');
exit;
} else {
Expand Down

0 comments on commit 04708b8

Please sign in to comment.