mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Prevent request forgery exploit in card.dm
This commit is contained in:
committed by
ZomgPonies
parent
bd249e3a53
commit
0c01c6e4df
@@ -250,10 +250,11 @@
|
||||
P.info += " [get_access_desc(A)]"
|
||||
|
||||
if ("terminate")
|
||||
modify.assignment = "Terminated"
|
||||
modify.access = list()
|
||||
if (is_authenticated())
|
||||
modify.assignment = "Terminated"
|
||||
modify.access = list()
|
||||
|
||||
callHook("terminate_employee", list(modify))
|
||||
callHook("terminate_employee", list(modify))
|
||||
|
||||
if (modify)
|
||||
modify.name = text("[modify.registered_name]'s ID Card ([modify.assignment])")
|
||||
|
||||
Reference in New Issue
Block a user