users now can login with /login password - new config option to enable the ability to log in with username and password
This commit is contained in:
parent
6437d2a977
commit
eaeb37ced5
2 changed files with 27 additions and 13 deletions
|
|
@ -195,6 +195,9 @@ namespace TShockAPI
|
|||
|
||||
[Description("Allows users to register any username with /register")] public bool AllowRegisterAnyUsername;
|
||||
|
||||
[Description("Allows users to register any username with /register")]
|
||||
public bool AllowLoginAnyUsername;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue