X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/ea90b321a4b3768028d841b307c362af97a5e6e1..e6d7cf2082a7aaac5fad8d709a34ffaf7a34b223:/settings/index.php?ds=sidebyside
diff --git a/settings/index.php b/settings/index.php
index c501ab2..453101b 100644
--- a/settings/index.php
+++ b/settings/index.php
@@ -1,15 +1,15 @@
-
Panel Settings Overview
+Panel Accounts
id == $user->id) // if it's the current user
{
session_destroy();
- header("Location: " . get_config("base_url") . "plugins/sql_auth/login.php");
+ header("Location: " . get_config("base_url") . "plugins/sql_db/login.php");
die();
}
$msg = ($deleted = 1) ? "Message::Success" : "Message::Fail";
@@ -52,6 +52,7 @@ if (isset($_POST))
}
else if (($usr_obj = new PanelUser($user['user_name'])) && isset($usr_obj->id))
{
+ $usr_obj->add_meta("role", $p['user_role']);
Message::Success("Successfully created user \"" . $user['user_name'] . "\"");
}
else
@@ -60,13 +61,10 @@ if (isset($_POST))
}
}
}
-
$userlist = [];
Hook::run(HOOKTYPE_GET_USER_LIST, $userlist);
?>
-
-Panel Access
Click on a username to view more information.
@@ -98,6 +96,15 @@ Click on a username to view more information.
+
+
+require_once '../inc/footer.php'; ?>