diff --git a/README.md b/README.md index 0387448..197cef1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This repo contains an improved, free ldap authentication and authorisation for sharelatex/[overleaf](https://github.com/overleaf/overleaf) community -edition. Currently this repo uses `sharelatex/sharelatex:4.1.1`. +edition. Currently this repo uses `sharelatex/sharelatex:4.2.0`. The inital idea for this implementation was taken from [worksasintended](https://github.com/worksasintended). diff --git a/ldap-overleaf-sl/sharelatex_diff/AuthenticationController.js.diff b/ldap-overleaf-sl/sharelatex_diff/AuthenticationController.js.diff index 3f65fb1..5705a43 100644 --- a/ldap-overleaf-sl/sharelatex_diff/AuthenticationController.js.diff +++ b/ldap-overleaf-sl/sharelatex_diff/AuthenticationController.js.diff @@ -1,7 +1,4 @@ -68a69,70 -> alphaProgram: user.alphaProgram || undefined, // only store if set -> betaProgram: user.betaProgram || undefined, // only store if set -265a268,364 +268a268,364 > > // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > oauth2Redirect(req, res, next) { diff --git a/ldap-overleaf-sl/sharelatex_diff/AuthenticationManager.js.diff b/ldap-overleaf-sl/sharelatex_diff/AuthenticationManager.js.diff index 1e22606..f732928 100644 --- a/ldap-overleaf-sl/sharelatex_diff/AuthenticationManager.js.diff +++ b/ldap-overleaf-sl/sharelatex_diff/AuthenticationManager.js.diff @@ -5,7 +5,7 @@ > const ldapEscape = require("ldap-escape") > // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > -84a91,100 +120a127,136 > // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > _checkUserPassword2(query, password, callback) { > // leave original _checkUserPassword untouched, because it will be called by @@ -16,13 +16,13 @@ > }, > // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > -90c106,108 +126c142,144 < AuthenticationManager._checkUserPassword( --- > // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > AuthenticationManager._checkUserPassword2( > // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -153a172,451 +190a209,488 > > // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > /**