new features: Based on IP user registration restrictions
This commit is contained in:
@@ -27,6 +27,7 @@ const (
|
||||
TelegramNotBound uint32 = 20007
|
||||
UserNotBindOauth uint32 = 20008
|
||||
InviteCodeError uint32 = 20009
|
||||
RegisterIPLimit uint32 = 20010
|
||||
)
|
||||
|
||||
// Node error
|
||||
|
||||
@@ -33,6 +33,7 @@ func init() {
|
||||
TelegramNotBound: "Telegram not bound ",
|
||||
UserNotBindOauth: "User not bind oauth method",
|
||||
InviteCodeError: "Invite code error",
|
||||
RegisterIPLimit: "Too many registrations",
|
||||
|
||||
// Node error
|
||||
NodeExist: "Node already exists",
|
||||
|
||||
Reference in New Issue
Block a user