fix(core): Revert isPending check on the user entity (#5571)
This commit is contained in:
committed by
GitHub
parent
ea2035b510
commit
a19ec6ac94
@@ -111,9 +111,6 @@ export class User extends AbstractEntity implements IUser {
|
||||
@AfterLoad()
|
||||
@AfterUpdate()
|
||||
computeIsPending(): void {
|
||||
this.isPending =
|
||||
this.globalRole?.name === 'owner' && this.globalRole.scope === 'global'
|
||||
? false
|
||||
: this.password === null;
|
||||
this.isPending = this.password === null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user