diff options
Diffstat (limited to 'game/update.rpy')
-rw-r--r-- | game/update.rpy | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/game/update.rpy b/game/update.rpy index 8708790..625acd3 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -288,7 +288,7 @@ screen register_method(): textbutton _("Email Auth") action None#Return(1) textbutton _("Pass+2FA Auth") action Return(2) -screen register_input(prompt): +screen register_input(prompt, mask=""): ## Ensure other screens do not get input while this screen is displayed. modal True zorder 200 @@ -309,6 +309,8 @@ screen register_input(prompt): xalign 0.5 id "input" copypaste True + if mask != "": + mask mask screen notice(prompt): ## Ensure other screens do not get input while this screen is displayed. @@ -383,7 +385,7 @@ label register: elif method == 2: $ password = "" while len(password) < 4: - call screen register_input(_("Please insert your {b}Password{/b}.\nIt has to be at least 4 characters long.")) + call screen register_input(_("Please insert your {b}Password{/b}.\nIt has to be at least 4 characters long."), "*") $ password = _return # We must send the password on plain-text; That's why we use SSL @@ -441,7 +443,7 @@ label register: ################################################################################# label set2fa: - call screen register_input(_("Please insert your {b}2FA Secret{/b} or the link sent to you by email.\n\n{size=18}{color=#f00}WARNING:{/color} Will be saved locally with minimal security.{/size}")) + call screen register_input(_("Please insert your {b}2FA Secret{/b} {i}or the link{/i} sent to you by email.\n\n{size=18}{color=#f00}WARNING:{/color} Will be saved locally with minimal security.{/size}")) if _return != "": python: if _return.startswith("otpauth:"): |