Fix ENV_HASH not working correctly.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user