Added ability to create more users from CP

This commit is contained in:
Pinga 2024-11-26 16:07:14 +02:00
parent 3c86dc19ad
commit 63b544c915
8 changed files with 345 additions and 6 deletions

View file

@ -43,9 +43,14 @@ class ProfileController extends Controller
} else {
$status = "Unknown";
}
$roles = $_SESSION['auth_roles'];
if ($roles == 0) {
$role = "Admin";
$role = "Administrator";
} else if ($roles == 4) {
$role = "Registrar";
} else if ($roles == 6) {
$role = "Registrar Assistant";
} else {
$role = "Unknown";
}