Fix quoting problem

This commit is contained in:
Girish Ramakrishnan
2022-06-22 17:56:24 -07:00
parent a4685f7f5a
commit 4ab78d25f7
+2 -2
View File
@@ -794,8 +794,8 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
// https://stackoverflow.com/questions/1497481/javascript-password-generator
function generatePassword() {
var length = 12,
charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
retVal = "";
charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',
retVal = '';
for (var i = 0, n = charset.length; i < length; ++i) {
retVal += charset.charAt(Math.floor(Math.random() * n));
}