summaryrefslogtreecommitdiff
path: root/game/register.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/register.rpy')
-rw-r--r--game/register.rpy8
1 files changed, 7 insertions, 1 deletions
diff --git a/game/register.rpy b/game/register.rpy
index d09b579..0aae3fe 100644
--- a/game/register.rpy
+++ b/game/register.rpy
@@ -85,8 +85,14 @@ label register_email:
"The email you've entered is not valid.")
# You've inserted a valid email
- raw=send_packet("register", """{"email": "%s"}""" % email)
+ raw=send_packet("register", """{"email": "%s", "MyUID": "%s"}""" % (email, persistent.MyUID))
bt=json_decode(raw)
+ # TODO: Maybe just use uuid4 to make a fake email, then fetch password
+ # Show player the fake email (UUID) and the password and disclaim:
+ # THIS WON'T BE SHOWN AGAIN, STORE IT SOMEWHERE SECURE
+ # (or save to persistent data and allow linking later?)
+ # ...Actually the email/UUID gimmick is useless?
+ # Also, couldn't people just brute-force other ppl passwords?
try:
password=bt["password"]