Disabled Registration + Changed Welcome Message

This commit is contained in:
2025-09-11 00:22:56 +00:00
parent 8cc2dd2330
commit 45365a885c
2 changed files with 7 additions and 1 deletions

View File

@@ -48,6 +48,11 @@ public class AccountRegistrationService
public async Task<RegisterReplyV2Dto> RegisterAccountAsync(string ua, string ip, string hashedSecretKey)
{
var reply = new RegisterReplyV2Dto();
reply.ErrorMessage = "Sign up only available through discord.";
return reply;
/*
if (!_registrationUserAgentRegex.Match(ua).Success)
{
@@ -118,6 +123,7 @@ public class AccountRegistrationService
RecordIpRegistration(ip);
return reply;
*/
}
private void RecordIpRegistration(string ip)