diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-09 23:13:34 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-09 23:13:34 -0300 |
commit | 8f54da16012f26e713e6d50d338a89328a3484ab (patch) | |
tree | ff888fe62c2386a3e64b29120be6c04b34fefed0 | |
parent | 4108cca10e7fe11a845a506020eb356100d624ab (diff) | |
download | renpy-8f54da16012f26e713e6d50d338a89328a3484ab.tar.gz renpy-8f54da16012f26e713e6d50d338a89328a3484ab.tar.bz2 renpy-8f54da16012f26e713e6d50d338a89328a3484ab.tar.xz renpy-8f54da16012f26e713e6d50d338a89328a3484ab.zip |
Better error handling, spec change
-rw-r--r-- | game/renpy.rpy | 1 | ||||
-rw-r--r-- | game/update.rpy | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/game/renpy.rpy b/game/renpy.rpy index 0c7347b..3d4696e 100644 --- a/game/renpy.rpy +++ b/game/renpy.rpy @@ -65,6 +65,7 @@ label start: # If we still don't have a Vault ID - something went wrong D: if not vaultId: + $ status_update("{color=#F00}Failure! Vault ID could not be set.{/color}") jump die $ stdout("Connection established!") diff --git a/game/update.rpy b/game/update.rpy index 40af6a6..d40348f 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -367,7 +367,7 @@ label register: $ status_update(pc=95) $ data = {"mail": email, "pass": password, - "2FAC": code2FA[:6] + "totp": code2FA[:6] } $ r = vault.post(VAULT_HOST+"/user_auth", json=data) |