Fix ENV_HASH not working correctly.

This commit is contained in:
2025-06-23 15:01:12 +03:00
parent 94d377c0c2
commit ac99cef842
4 changed files with 11 additions and 6 deletions

View File

@@ -20,6 +20,8 @@ class Sessions
end
def login(username, pass)
Logman.log "Logging in: #{username} & #{pass} #{ENV_HASH["SALT"]}\n"
player = Players.authorized?(username, pass)
if player
code = Array.new(24) { ALPHANUM.sample }.join