mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
The 2FA warning now prompts the user to the correct menu to setup 2FA (#30112)
* The 2FA warning now prompts the user to the correct menu to setup 2FA * Update code/modules/admin/holder2.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> * Update code/modules/client/client_procs.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> --------- Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,7 @@ GLOBAL_PROTECT(href_token)
|
||||
restricted_by_2fa = TRUE
|
||||
if(!delay_2fa_complaint)
|
||||
// And tell them about it.
|
||||
to_chat(owner,"<span class='boldannounceooc'><big>You do not have 2FA enabled. Admin verbs will be unavailable until you have enabled 2FA.</big></span>") // Very fucking obvious
|
||||
to_chat(owner,"<span class='boldannounceooc'><big>You do not have 2FA enabled. Admin verbs will be unavailable until you have enabled 2FA.\nTo setup 2FA, head to the following menu: <a href='byond://?_src_=prefs;preference=tab;tab=[TAB_GAME]'>Game Preferences</a></span>") // Very fucking obvious
|
||||
|
||||
// Regardless of client, tell BYOND if they should have profiler access.
|
||||
if(rights & (R_DEBUG | R_VIEWRUNTIMES))
|
||||
|
||||
Reference in New Issue
Block a user