mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Auth System Changes (#21698)
Changes the Auth System to use the new login server to fetch the users/groups instead of the deprecated forumuserapi. Removes the ForumUserAPI and moves the admin authorization processes to a auth subsystem --------- Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -105,11 +105,11 @@
|
||||
if(!check_rights(R_SERVER|R_DEV))
|
||||
return
|
||||
|
||||
if (GLOB.config.use_forumuser_api)
|
||||
update_admins_from_api(FALSE)
|
||||
if (GLOB.config.use_authentik_api)
|
||||
SSauth.update_admins_from_authentik(FALSE)
|
||||
|
||||
log_and_message_admins("manually reloaded admins.")
|
||||
load_admins()
|
||||
SSauth.load_admins()
|
||||
feedback_add_details("admin_verb","RLDA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
//todo:
|
||||
|
||||
Reference in New Issue
Block a user