Browse Source

Fix Business/CommonBugs#1 (expired session logout error)

master
Skylar Ittner 2 years ago
parent
commit
496b213a88
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      action.php

+ 3
- 1
action.php View File

@@ -6,7 +6,9 @@

require_once __DIR__ . "/required.php";

dieifnotloggedin();
if ($VARS['action'] !== "signout") {
dieifnotloggedin();
}

/**
* Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID.

Loading…
Cancel
Save