You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the ability to disallow and reallow email domains by
adding/removing them to a database table using the CLI. Registration
will be impossible as long as the email address used is from a blocked
domain. Also renames some parts of email address blocking to
differenciate that feature better from this one.
Copy file name to clipboardExpand all lines: Refresh.GameServer/CommandLineManager.cs
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -60,11 +60,17 @@ private class Options
60
60
[Option("reallow-user",HelpText="Re-allow a user to register. Username option is required if this is set.")]
61
61
publicboolReallowUser{get;set;}
62
62
63
-
[Option("disallow-email",HelpText="Disallow the email from being used by anyone in the future. Email option is required if this is set.")]
64
-
publicboolDisallowEmail{get;set;}
63
+
[Option("disallow-email",HelpText="Disallow the email address from being used by anyone in the future. Email option is required if this is set.")]
64
+
publicboolDisallowEmailAddress{get;set;}
65
65
66
-
[Option("reallow-email",HelpText="Re-allow the email to be used by anyone. Email option is required if this is set")]
67
-
publicboolReallowEmail{get;set;}
66
+
[Option("reallow-email",HelpText="Re-allow the email address to be used for account registration. Email option is required if this is set")]
67
+
publicboolReallowEmailAddress{get;set;}
68
+
69
+
[Option("disallow-email-domain",HelpText="Disallow the email domain from being used by anyone in the future. Email option is required if this is set. If a whole Email address is given, only the substring after the last @ will be used.")]
70
+
publicboolDisallowEmailDomain{get;set;}
71
+
72
+
[Option("reallow-email-domain",HelpText="Re-allow the email domain to be used by anyone. Email option is required if this is set. If a whole Email address is given, only the substring after the last @ will be used.")]
73
+
publicboolReallowEmailDomain{get;set;}
68
74
69
75
[Option("rename-user",HelpText="Changes a user's username. (old) username or Email option is required if this is set.")]
0 commit comments