From 8f54da16012f26e713e6d50d338a89328a3484ab Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 May 2021 23:13:34 -0300 Subject: Better error handling, spec change --- game/renpy.rpy | 1 + game/update.rpy | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2