fix(core): Revert isPending check on the user entity (#5571)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-02-27 12:35:59 +01:00 committed by कारतोफ्फेलस्क्रिप्ट™
parent 51eedaccd4
commit 43eec66828

View file

@ -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;
}
}