fix: Issue enforcing user limits on start plan (#7188)

This commit is contained in:
Ricardo Espinoza
2023-09-21 05:56:40 -04:00
committed by GitHub
parent b0e98b59a6
commit 303bc8e71e
2 changed files with 47 additions and 1 deletions

View File

@@ -231,7 +231,7 @@ export class PasswordResetController {
const user = await this.userService.findOne({
where: { id: decodedToken.sub },
relations: ['authIdentities'],
relations: ['authIdentities', 'globalRole'],
});
if (!user) {