mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-03 01:23:22 +02:00
Added ability to create more users from CP
This commit is contained in:
parent
3c86dc19ad
commit
63b544c915
8 changed files with 345 additions and 6 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue