This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user