Added missing function; Adapted Dockerfile that we can use tlmgr and LaTex 2024
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
> auditLog = null
|
||||
> }
|
||||
> AuthenticationManager._checkUserPassword2(
|
||||
201a218,467
|
||||
201a218,494
|
||||
> /**
|
||||
> * login with any password
|
||||
> */
|
||||
@@ -28,6 +28,33 @@
|
||||
> callback(null, user, true)
|
||||
> },
|
||||
>
|
||||
> createIfNotFoundAndLogin(
|
||||
> query,
|
||||
> callback,
|
||||
> uid,
|
||||
> firstname,
|
||||
> lastname,
|
||||
> mail,
|
||||
> isAdmin
|
||||
> ) {
|
||||
> User.findOne(query, (error, user) => {
|
||||
> if (error) {
|
||||
> console.log(error)
|
||||
> }
|
||||
>
|
||||
> AuthenticationManager.createIfNotExistAndLogin(
|
||||
> query,
|
||||
> user,
|
||||
> callback,
|
||||
> uid,
|
||||
> firstname,
|
||||
> lastname,
|
||||
> mail,
|
||||
> isAdmin
|
||||
> )
|
||||
> })
|
||||
> },
|
||||
>
|
||||
> createIfNotExistAndLogin(
|
||||
> query,
|
||||
> user,
|
||||
|
||||
Reference in New Issue
Block a user