Targets .NET Core 3.0 (#39)
This commit is contained in:
parent
0993c03b70
commit
08bf44af9a
125 changed files with 1473 additions and 14244 deletions
|
|
@ -315,8 +315,8 @@ namespace Server.Misc
|
|||
|
||||
if (!(Accounts.GetAccount(un) is Account acct))
|
||||
{
|
||||
if (AutoAccountCreation && un.Trim().Length > 0
|
||||
) // To prevent someone from making an account of just '' or a bunch of meaningless spaces
|
||||
// To prevent someone from making an account of just '' or a bunch of meaningless spaces
|
||||
if (AutoAccountCreation && un.Trim().Length > 0)
|
||||
{
|
||||
e.State.Account = acct = CreateAccount(e.State, un, pw);
|
||||
e.Accepted = acct?.CheckAccess(e.State) ?? false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue