Added quick fix for changing UUID when submitting two times.

This commit is contained in:
Ajay Ramachandran
2019-07-26 14:19:01 -04:00
parent a86e55ac67
commit c7cb845d8a

View File

@@ -198,6 +198,12 @@ function getUserID(callback) {
userID = userIDStorage;
callback(userID);
} else {
//double check if a UUID hasn't been created since this was first called
if (userID != null) {
callback(userID);
return;
}
//generate a userID
userID = generateUUID();