fix(core): All calls to plainToInstance should exclude extraneous values (no-changelog) (#9338)
This commit is contained in:
committed by
GitHub
parent
9003c15811
commit
5025d209ca
@@ -115,7 +115,7 @@ export class User extends WithTimestamps implements IUser {
|
||||
@AfterLoad()
|
||||
@AfterUpdate()
|
||||
computeIsPending(): void {
|
||||
this.isPending = this.password === null;
|
||||
this.isPending = this.password === null && this.role !== 'global:owner';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user