pad.libre-service.eu-etherpad/src/node/utils
muxator 28a3bba4c1 settings: fix incorrect implementation of conditional user creation.
The change that implemented #3648 (7c099fef5e) was incorrect, and resulted
in disabling every user at startup.

The problem was twofold:
1. _.filter() on an object returns an array of the object's enumerable values
   and strips out the keys, see: https://stackoverflow.com/questions/11697702/how-to-use-underscore-js-filter-with-an-object
   To filter an object, the function that needs to be used is _.pick();

2. The logic condition on userProperties.password was plain wrong (it should
   have been an AND instead of an OR).

This change corrects 1) and 2), and writes more specific logs when something
goes wrong.

Closes #3661.
2019-11-02 22:57:52 +01:00
..
Abiword.js Remove trailing whitespaces 2019-04-16 00:34:29 +02:00
AbsolutePaths.js utils/AbsolutePaths.js: do not break when running as a Windows manual install 2019-02-11 03:28:02 +01:00
caching_middleware.js deprecations: get rid of DEP0005 about Buffer() 2018-08-14 19:45:03 +02:00
Cli.js remove -k argument as it is currently for both sessionkey and apikey 2018-08-09 19:42:14 +02:00
customError.js Remove trailing whitespaces 2019-04-16 00:34:29 +02:00
ExportEtherpad.js import/export: conversion to Promises/async 2019-01-31 08:55:36 +00:00
ExportHelper.js Fix Unicode bug in HTML export 2019-08-12 00:41:17 +02:00
ExportHtml.js Remove trailing whitespaces 2019-04-16 00:34:29 +02:00
ExportTxt.js import/export: conversion to Promises/async 2019-01-31 08:55:36 +00:00
ImportEtherpad.js import/export: conversion to Promises/async 2019-01-31 08:55:36 +00:00
ImportHtml.js import/export: conversion to Promises/async 2019-01-31 08:55:36 +00:00
LibreOffice.js LibreOffice: add debugging log statements 2018-11-01 00:22:27 +01:00
Minify.js utils/Minify.js: always call statFile() with an explicit value for "dirStatLimit" 2019-03-27 18:29:12 +01:00
NodeVersion.js NodeVersion.js: do not use callbacks, simplify calling style in server.js 2019-02-19 00:46:37 +01:00
padDiff.js padDiff.js: convert to Promises/async 2019-01-31 14:38:56 +00:00
path_exists.js Fixed path check 2016-06-20 00:22:29 +02:00
randomstring.js fix randomstring 2014-01-24 01:19:14 +01:00
RemoteAddress.js working handling of setting client ip and anonymizing etc 2014-11-04 23:25:18 +00:00
Settings.js settings: fix incorrect implementation of conditional user creation. 2019-11-02 22:57:52 +01:00
tar.json swap out jquery browser for bower but expose browser object to all pages also enable minification.. Seems to work well 2014-11-22 19:11:35 +00:00
TidyHtml.js TidyHtml.js: convert to promises 2019-01-31 13:42:41 +00:00
toolbar.js toolbar: missing var declaration 2018-08-27 01:34:01 +02:00