mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Fixes TGUI login exploit (#14695)
This commit is contained in:
@@ -130,6 +130,9 @@ GLOBAL_LIST(tgui_logins)
|
||||
state.name = state.id.registered_name
|
||||
state.rank = state.id.assignment
|
||||
state.access = state.id.access
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>Access Denied</span>")
|
||||
return
|
||||
else if(login_type == LOGIN_TYPE_AI && isAI(usr))
|
||||
state.name = usr.name
|
||||
state.rank = "AI"
|
||||
|
||||
Reference in New Issue
Block a user