mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge pull request #3424 from gradido/fix_humhub_initialien_bug
feat(backend): make sure, correct user name is used for jwt token
This commit is contained in:
commit
8b11a9775d
@ -791,7 +791,7 @@ export class UserResolver {
|
||||
if (humhubUser.account.status !== 1) {
|
||||
throw new LogError('user status is not 1', humhubUser.account.status)
|
||||
}
|
||||
return await humhubClient.createAutoLoginUrl(username)
|
||||
return await humhubClient.createAutoLoginUrl(humhubUser.account.username)
|
||||
}
|
||||
|
||||
@Authorized([RIGHTS.SEARCH_ADMIN_USERS])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user