diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-08-22 23:43:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-08-22 23:43:52 -0300 |
commit | da56f0b98e195fad096a42c2529639974915f0c9 (patch) | |
tree | 2c14c07bb7bbc73249d4aac83edf3f105e94c800 /game/vault.rpy | |
parent | 2bed6e6368727f41d58e19a20f7665986dfde2bf (diff) | |
download | renpy-da56f0b98e195fad096a42c2529639974915f0c9.tar.gz renpy-da56f0b98e195fad096a42c2529639974915f0c9.tar.bz2 renpy-da56f0b98e195fad096a42c2529639974915f0c9.tar.xz renpy-da56f0b98e195fad096a42c2529639974915f0c9.zip |
Automatic login: Death to the annoying login screen!
Diffstat (limited to 'game/vault.rpy')
-rw-r--r-- | game/vault.rpy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/game/vault.rpy b/game/vault.rpy index bbe9fc3..f3ddc38 100644 --- a/game/vault.rpy +++ b/game/vault.rpy @@ -241,6 +241,9 @@ label register_vault: status_update("Creating account and logging in...") renpy.notify("Account created! Check email.") time.sleep(1.0) + # Attempt to save the TOTP credential (DISCOURAGED) + if persistent.autologin and "totp" in auth2.keys(): + persistent.totp = auth2["totp"].split("secret=")[1].split("&")[0] except: pass |