big bug fix

This commit is contained in:
Kaan Soral
2024-02-07 00:40:56 +03:00
parent 8900620eb4
commit ac343828dd
5 changed files with 6 additions and 4 deletions
-1
View File
@@ -10,7 +10,6 @@ def serve_admin_maker():
user.put()
return "done!"
@app.route('/admin/renderer')
@ndb.toplevel
def serve_render():
+2
View File
@@ -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")
+2 -1
View File
@@ -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
View File
@@ -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`