mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
make sure, correct user name is used for jwt token
This commit is contained in:
parent
eec3e3a965
commit
a4c6aa8b20
@ -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