fix: add full path to settings
This commit is contained in:
parent
966ab9bdda
commit
9bf9eabad7
@ -20,7 +20,7 @@ public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigur
|
|||||||
if (!notConfigureService.IsMaintenanceMode)
|
if (!notConfigureService.IsMaintenanceMode)
|
||||||
throw new ControllerArgumentException(
|
throw new ControllerArgumentException(
|
||||||
"The token cannot be generated because the server has been configured. " +
|
"The token cannot be generated because the server has been configured. " +
|
||||||
$"If you need to restart the configuration, then delete the \"{GeneralConfig.FilePath}\" file and restart the application.");
|
$"If you need to restart the configuration, then delete the \"{PathBuilder.Combine(GeneralConfig.FilePath)}\" file and restart the application.");
|
||||||
|
|
||||||
var token = new byte[32];
|
var token = new byte[32];
|
||||||
RandomNumberGenerator.Create().GetBytes(token);
|
RandomNumberGenerator.Create().GetBytes(token);
|
||||||
|
Loading…
Reference in New Issue
Block a user