Skip to content

Commit

Permalink
Update phpfm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Sep 30, 2023
1 parent b111720 commit 1abc77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/admin/phpfm.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function getCompleteURL() {
}
}
} else {
if (isset($pass)) login();
if (isset($_SESSION[$OJ_NAME.'_administrator'])||isset($_SESSION[$OJ_NAME.'_problem_editor'])) login();
else login_form();
}
// +--------------------------------------------------
Expand Down

0 comments on commit 1abc77a

Please sign in to comment.