diff options
Diffstat (limited to 'src/application/actions/logout/_any.php')
-rw-r--r-- | src/application/actions/logout/_any.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application/actions/logout/_any.php b/src/application/actions/logout/_any.php new file mode 100644 index 0000000..1a5cf05 --- /dev/null +++ b/src/application/actions/logout/_any.php @@ -0,0 +1,6 @@ +<?php + +use mystic\forum\utils\RequestUtils; + +RequestUtils::unsetAuthorizedUser(); +header("Location: " . ($_GET["next"] ?? ".")); |