mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
test with disabled user
This commit is contained in:
parent
d089146fe4
commit
42c12a3e8a
@ -39,7 +39,8 @@ export async function syncUser(
|
||||
|
||||
if (humhubUser) {
|
||||
if (!user.humhubAllowed) {
|
||||
await humHubClient.deleteUser(humhubUser.id)
|
||||
postUser.account.status = 0
|
||||
await humHubClient.updateUser(postUser, humhubUser.id)
|
||||
return ExecutedHumhubAction.DELETE
|
||||
}
|
||||
if (!isHumhubUserIdenticalToDbUser(humhubUser, user)) {
|
||||
|
||||
@ -241,7 +241,7 @@ export default {
|
||||
return firstName === this.firstName && lastName === this.lastName
|
||||
},
|
||||
isHumhubActivated() {
|
||||
return this.humhubAllowed
|
||||
return false // this.humhubAllowed
|
||||
},
|
||||
isCommunityService() {
|
||||
return this.isGMS || this.isHumhub
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user