mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
big bug fix
This commit is contained in:
@@ -10,7 +10,6 @@ def serve_admin_maker():
|
||||
user.put()
|
||||
return "done!"
|
||||
|
||||
|
||||
@app.route('/admin/renderer')
|
||||
@ndb.toplevel
|
||||
def serve_render():
|
||||
|
||||
@@ -6,6 +6,8 @@ def signup_or_login_api(**args):
|
||||
self,domain,email,password,only_login,only_signup,mobile=gdmuld(args,"self","domain","email","password","only_login","only_signup","mobile")
|
||||
logging.info("Signup or Login")
|
||||
|
||||
#jhtmle(self,"Disabled for now"); return
|
||||
|
||||
try: email=purify_email(email)
|
||||
except: return jhtmle(self,"Invalid Email")
|
||||
|
||||
|
||||
@@ -114,10 +114,11 @@ if is_production:
|
||||
#maps["desertland"]["key"]="jayson_desertland_copy"
|
||||
pass
|
||||
|
||||
game_version=788
|
||||
game_version=789
|
||||
SALES=4+5+388+5101+125/20 #donation+manual+macos+steam+sales
|
||||
update_notes=[
|
||||
"Lunar New Year Event",
|
||||
"Valentines Day Event",
|
||||
"Last Update [6th of February]",
|
||||
"Switched to Python3",
|
||||
"All major issues fixed",
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -2238,7 +2238,7 @@ def pbkdf2_hex(data, salt, iterations=1000, keylen=24, hashfunc=None):
|
||||
if 1/2==0:
|
||||
return pbkdf2_bin(data, salt, iterations, keylen, hashfunc).encode('hex')
|
||||
else:
|
||||
pbkdf2_bin(data, salt, iterations, keylen, hashfunc).encode("utf-8").hex()
|
||||
return pbkdf2_bin(data, salt, iterations, keylen, hashfunc).encode("utf-8").hex()
|
||||
|
||||
def pbkdf2_bin(data, salt, iterations=1000, keylen=24, hashfunc=None):
|
||||
"""Returns a binary digest for the PBKDF2 hash algorithm of `data`
|
||||
|
||||
Reference in New Issue
Block a user