Skip to content

Commit

Permalink
one less loop thing
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Oct 8, 2024
1 parent 9c85833 commit c0b03ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/userinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
// just in case, log them out, maybe they've got a bad cookie
error_log("logging out for no pid: " .json_encode($userinfo));
$auth_client->logout();
// not logged in, redirect to loginform
wp_redirect(site_url('pbsoauth/loginform'));
// not logged in, redirect to home
wp_redirect(site_url());
exit();
}
$mvault_client = $passport->get_mvault_client();
Expand Down

0 comments on commit c0b03ef

Please sign in to comment.