Some small rest improvements. Use newest TServer binary.
This commit is contained in:
parent
dd05c524ec
commit
225668fcdd
4 changed files with 8 additions and 6 deletions
|
|
@ -300,8 +300,8 @@ namespace TShockAPI
|
|||
return RestMissingParam("user");
|
||||
|
||||
var group = parameters["group"];
|
||||
if (string.IsNullOrWhiteSpace(group))
|
||||
return RestMissingParam("group");
|
||||
if (string.IsNullOrWhiteSpace(group))
|
||||
group = TShock.Config.DefaultRegistrationGroupName;
|
||||
|
||||
var password = parameters["password"];
|
||||
if (string.IsNullOrWhiteSpace(password))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue