mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-08-23 19:15:09 -05:00
Check if the account is enabled at login
Not used yet, but possibly will be in the future.
This commit is contained in:
@@ -192,7 +192,7 @@ class GamespyDatabase(object):
|
||||
#if r['password'] == md5.hexdigest():
|
||||
# profileid = r['profileid'] # Valid password
|
||||
|
||||
if r['gsbrcd'] == gsbrcd:
|
||||
if r['enabled'] == 1 and r['gsbrcd'] == gsbrcd:
|
||||
profileid = r['profileid'] # Valid password
|
||||
|
||||
return profileid
|
||||
|
||||
Reference in New Issue
Block a user