summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-07 14:44:08 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-07 14:44:08 -0300
commitee26426bb87d44987259b0418573125d20a95bb5 (patch)
tree370628f19bd3748dc5cb31c5027fcc3bf9cbce71
parent5cfe0eb888c059310a020c032680b3ad2e8b2d94 (diff)
downloadrenpy-ee26426bb87d44987259b0418573125d20a95bb5.tar.gz
renpy-ee26426bb87d44987259b0418573125d20a95bb5.tar.bz2
renpy-ee26426bb87d44987259b0418573125d20a95bb5.tar.xz
renpy-ee26426bb87d44987259b0418573125d20a95bb5.zip
Remembering TOTP is meaningless on Steam Versionv2021.06.07
-rw-r--r--game/screens.rpy3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/screens.rpy b/game/screens.rpy
index f4ce19b..6c43d82 100644
--- a/game/screens.rpy
+++ b/game/screens.rpy
@@ -697,7 +697,8 @@ screen preferences():
if persistent.hello is not None:
null height 20
label _("Others")
- textbutton _("Remember TOTP %s" % ifte(persistent.totp is not None, _("ON"), _("OFF"))):
+ showif not persistent.steam:
+ textbutton _("Remember TOTP %s" % ifte(persistent.totp is not None, _("ON"), _("OFF"))):
action Function(renpy.call_in_new_context, "set2fa")
showif not persistent.steam:
textbutton _("Remember Login %s" % ifte(