mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(core): Revert isPending
check on the user entity (#5571)
This commit is contained in:
parent
51eedaccd4
commit
43eec66828
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue