This commit is contained in:
@@ -42,10 +42,10 @@ namespace AyaNova.Api.ControllerHelpers
|
||||
internal void SetSystemLock(string reason)
|
||||
{
|
||||
//Lock down the server for license related issue
|
||||
//Only Manager account (id=1) can login or do anything, treats as if server was set to closed even if they change it to open
|
||||
//Only SuperUser account (id=1) can login or do anything, treats as if server was set to closed even if they change it to open
|
||||
//only way to reset it is to fetch a valid license
|
||||
//
|
||||
var msg=$"{reason}\r\nOnly *the* Manager account can login to make changes";
|
||||
var msg=$"{reason}\r\nOnly *the* SuperUser account can login to make changes";
|
||||
SetState(ServerState.OpsOnly, msg);
|
||||
SYSTEM_LOCK = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user