This commit is contained in:
2022-02-14 23:12:05 +00:00
parent f2ad07618f
commit 0a5c722f2e

View File

@@ -257,6 +257,7 @@ namespace AyaNova
//so in that case users need to specify an AyaNova_JWT_SECRET environment variable //so in that case users need to specify an AyaNova_JWT_SECRET environment variable
if (string.IsNullOrWhiteSpace(secretKey)) if (string.IsNullOrWhiteSpace(secretKey))
{ {
_newLog.LogWarning("AYANOVA_JWT_SECRET configuration setting is missing; AyaNova will randomly generate one. Any Users who were logged in when the server restarted will need to login to get a fresh auth token. See manual 'AYANOVA_JWT_SECRET' page for details.");
secretKey = Util.Hasher.GenerateSalt(); secretKey = Util.Hasher.GenerateSalt();
} }
//WAS "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4" //WAS "UNLICENSED5G*QQJ8#bQ7$Xr_@sXfHq4"