settings: rename a parameter. No functional changes.
Please note that the logic of this functionality is incorrect: this change is in preparation of the next commit, which fixes it.pull/3885/head
parent
9ee131ca1f
commit
c4564fba4b
|
@ -637,8 +637,8 @@ exports.reloadSettings = function reloadSettings() {
|
||||||
* This is used by the settings.json in the default Dockerfile to eschew
|
* This is used by the settings.json in the default Dockerfile to eschew
|
||||||
* creating an admin user if no password is set.
|
* creating an admin user if no password is set.
|
||||||
*/
|
*/
|
||||||
var filteredUsers = _.filter(exports.users, function(user, username) {
|
var filteredUsers = _.filter(exports.users, function(userProperties, username) {
|
||||||
if ((user.hasOwnProperty("password")) || user.password !== null) {
|
if ((userProperties.hasOwnProperty("password")) || userProperties.password !== null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue