maak chat.bitlair.nl
This commit is contained in:
parent
5ab22d0e96
commit
c267c51e1e
9 changed files with 295 additions and 0 deletions
28
roles/chat/templates/thelounge-bitlair.patch
Normal file
28
roles/chat/templates/thelounge-bitlair.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff --git a/package.json b/package.json
|
||||
index 2991a6ec..dac43f16 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -84,9 +84,7 @@
|
||||
"ua-parser-js": "1.0.33",
|
||||
"uuid": "8.3.2",
|
||||
"web-push": "3.4.5",
|
||||
- "yarn": "1.22.17"
|
||||
- },
|
||||
- "optionalDependencies": {
|
||||
+ "yarn": "1.22.17",
|
||||
"sqlite3": "5.1.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
diff --git a/server/plugins/auth/ldap.ts b/server/plugins/auth/ldap.ts
|
||||
index e6093b0f..d30b9a1c 100644
|
||||
--- a/server/plugins/auth/ldap.ts
|
||||
+++ b/server/plugins/auth/ldap.ts
|
||||
@@ -134,7 +134,7 @@ const ldapAuth: AuthHandler = (manager, client, user, password, callback) => {
|
||||
// auth plugin API
|
||||
function callbackWrapper(valid: boolean) {
|
||||
if (valid && !client) {
|
||||
- manager.addUser(user, null, false);
|
||||
+ manager.addUser(user, null, true);
|
||||
}
|
||||
|
||||
callback(valid);
|
Loading…
Add table
Add a link
Reference in a new issue