Merge pull request #26 from unraid/improve/regWizTime

improve(plg): add GUID to regWizTime
This commit is contained in:
Eric Schultz
2020-11-06 22:50:12 -07:00
committed by GitHub

View File

@@ -1203,7 +1203,7 @@ function handleMessage(e) {
'#file': 'dynamix/dynamix.cfg',
'#section': 'remote',
apikey: data.apikey,
regWizTime: Date.now(), // set when signing in the first time and never unset for the sake of displaying Sign In/Up in the UPC without needing to validate guid every time
regWizTime: `${Date.now()}_${data.guid}`, // set when signing in the first time and never unset for the sake of displaying Sign In/Up in the UPC without needing to validate guid every time
};
if (data.email) {
postargs['email'] = data.email;