.BANCHO. Add support for locked accounts
This commit is contained in:
@@ -83,3 +83,6 @@ class haxException(Exception):
|
||||
|
||||
class forceUpdateException(Exception):
|
||||
pass
|
||||
|
||||
class loginLockedException(Exception):
|
||||
pass
|
||||
|
@@ -16,7 +16,12 @@ def forceUpdate():
|
||||
|
||||
def loginBanned():
|
||||
packets = packetHelper.buildPacket(packetIDs.server_userID, [[-1, dataTypes.SINT32]])
|
||||
packets += notification("You are banned. You can ask to get unbanned after 1 month since your ban by contacting support@ripple.moe")
|
||||
packets += notification("You are banned. You can appeal after one month since your ban by sending an email to support@ripple.moe> from the email address you've used to sign up.")
|
||||
return packets
|
||||
|
||||
def loginLocked():
|
||||
packets = packetHelper.buildPacket(packetIDs.server_userID, [[-1, dataTypes.SINT32]])
|
||||
packets += notification("Your account is locked. You can't log in, but your profile and scores are still visible from the website. If you want to unlock your account, send an email to support@ripple.moe from the email address you've used to sign up.")
|
||||
return packets
|
||||
|
||||
def loginError():
|
||||
|
Reference in New Issue
Block a user