mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Removes session keys for admins. (#26540)
This commit is contained in:
@@ -40,8 +40,6 @@ var/global/floorIsLava = 0
|
||||
if (!istype(src,/datum/admins))
|
||||
to_chat(usr, "Error: you are not an admin!")
|
||||
return
|
||||
|
||||
checkSessionKey()
|
||||
var/body = {"<html><head><title>Options for [M.key]</title></head>
|
||||
<body>Options panel for <b>[M]</b>"}
|
||||
var/species_description
|
||||
@@ -272,11 +270,9 @@ var/global/floorIsLava = 0
|
||||
if (!istype(src,/datum/admins))
|
||||
to_chat(usr, "Error: you are not an admin!")
|
||||
return
|
||||
checkSessionKey()
|
||||
var/cid = input("Type computer ID", "CID", 0) as num | null
|
||||
if(cid)
|
||||
usr << link(getVGPanel("rapsheet", admin = 1, query = list("cid" = cid)))
|
||||
// to_chat(usr, link("[config.vgws_base_url]/index.php/rapsheet/?s=[sessKey]&cid=[cid]"))
|
||||
return
|
||||
|
||||
/datum/admins/proc/checkCKEY()
|
||||
@@ -290,10 +286,8 @@ var/global/floorIsLava = 0
|
||||
if (!istype(src,/datum/admins))
|
||||
to_chat(usr, "Error: you are not an admin!")
|
||||
return
|
||||
checkSessionKey()
|
||||
var/ckey = lowertext(input("Type player ckey", "ckey", null) as text | null)
|
||||
usr << link(getVGPanel("rapsheet", admin = 1, query = list("ckey" = ckey)))
|
||||
// usr << link("[config.vgws_base_url]/index.php/rapsheet/?s=[sessKey]&ckey=[ckey]")
|
||||
return
|
||||
|
||||
/datum/admins/proc/PlayerNotesPage(page)
|
||||
@@ -1622,7 +1616,7 @@ proc/formatPlayerPanel(var/mob/U,var/text="PP")
|
||||
/datum/admins/proc/ViewAllRods()
|
||||
if(!check_rights(0))
|
||||
return
|
||||
|
||||
|
||||
var/dat = "<center><B>View all active rods</B></center><hr>"
|
||||
|
||||
for (var/obj/item/projectile/immovablerod/rod in all_rods)
|
||||
@@ -1631,4 +1625,4 @@ proc/formatPlayerPanel(var/mob/U,var/text="PP")
|
||||
dat += "- <A href='?src=\ref[src];rod_to_untrack=\ref[rod]'>(UNTRACK)</A>"
|
||||
dat += "<br/>"
|
||||
|
||||
usr << browse(dat, "window=rodswindow;size=350x300")
|
||||
usr << browse(dat, "window=rodswindow;size=350x300")
|
||||
|
||||
Reference in New Issue
Block a user