new features: Based on IP user registration restrictions

This commit is contained in:
EUForest
2025-11-13 14:52:02 +08:00
parent 0fb92f380f
commit ff2d3f85f3
7 changed files with 60 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@ const (
TelegramNotBound uint32 = 20007
UserNotBindOauth uint32 = 20008
InviteCodeError uint32 = 20009
RegisterIPLimit uint32 = 20010
)
// Node error
+1
View File
@@ -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",