Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
warren5236 committed Oct 6, 2023
1 parent 72dc1fe commit b827129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/User/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -897,8 +897,7 @@ protected function handleLogin($result, $redirect = '')
if ($user) {
$_SESSION['user'] = $user;

if (
empty($redirect)
if (empty($redirect)
|| strpos($redirect, '/user/login') === 0
|| strpos($redirect, '/not-allowed') === 0
) {
Expand Down

0 comments on commit b827129

Please sign in to comment.