mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
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.
This commit is contained in:
parent
9ee131ca1f
commit
c4564fba4b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue