blob: 8423e72a975f619cf6dd666ab9938068b614281c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
if ($currentUser) {
header("Location: " . ($_GET["next"] ?? "."));
exit;
}
if (!REGISTRATION_ENABLED) {
http_response_code(403);
msg_error(__("Public registration disabled"));
exit;
}
|