summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-09 21:28:25 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-09 21:28:25 -0300
commit2f994834cd4f026a3a5fcdcc1744a6e518c02824 (patch)
treef203a7127e121a4ae4e197fcbe3773324346ee77
parent18c7c8ad35b68ee99e4693b0df1f0992391ac714 (diff)
downloadrenpy-2f994834cd4f026a3a5fcdcc1744a6e518c02824.tar.gz
renpy-2f994834cd4f026a3a5fcdcc1744a6e518c02824.tar.bz2
renpy-2f994834cd4f026a3a5fcdcc1744a6e518c02824.tar.xz
renpy-2f994834cd4f026a3a5fcdcc1744a6e518c02824.zip
Fix typo
-rw-r--r--game/update.rpy6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/update.rpy b/game/update.rpy
index 3884308..a64d12f 100644
--- a/game/update.rpy
+++ b/game/update.rpy
@@ -323,7 +323,7 @@ label register:
$ user = {"email": email,
"confirmed": True
}
- $ r = vault.put(VAULT_URL+"/vault/session", json=user)
+ $ r = vault.put(VAULT_HOST+"/vault/session", json=user)
# Wait for Vault to send you an email
if (r.status_code != 200):
@@ -339,7 +339,7 @@ label register:
$ user["key"] = token
$ status_update(pc=97)
- #$ r = vault.get(VAULT_URL+"/vault/session?token=%s&email=%s" % (token, email)) # FIXME: HTTP formating for email
+ #$ r = vault.get(VAULT_HOST+"/vault/session?token=%s&email=%s" % (token, email)) # FIXME: HTTP formating for email
# FIXME: Continue from here
call screen notice(_("{b}INTERNAL SERVER ERROR{/b}\n\nSeems like someone messed up on the APIs!\nThis login method seems to be temporaly unavailable, please choose another one."))
# Cleanup
@@ -363,7 +363,7 @@ label register:
"pass": password,
"2FAC": code2FA
}
- $ r = vault.post(VAULT_URL+"/user_auth", json=data)
+ $ r = vault.post(VAULT_HOST+"/user_auth", json=data)
# Wait for Vault to confirm.
if (r.status_code != 200):