diff --git a/src/Squidex/app/features/administration/module.ts b/src/Squidex/app/features/administration/module.ts index 189f78326..c2998f693 100644 --- a/src/Squidex/app/features/administration/module.ts +++ b/src/Squidex/app/features/administration/module.ts @@ -68,8 +68,6 @@ const routes: Routes = [ ], providers: [ EventConsumersService, - UnsetUserGuard, - UserMustExistGuard, UsersService ] }) diff --git a/src/Squidex/app/features/administration/pages/users/user-page.component.html b/src/Squidex/app/features/administration/pages/users/user-page.component.html index cd7df79b2..87ee15bc7 100644 --- a/src/Squidex/app/features/administration/pages/users/user-page.component.html +++ b/src/Squidex/app/features/administration/pages/users/user-page.component.html @@ -49,8 +49,7 @@ - +
@@ -59,8 +58,7 @@ - +
@@ -68,8 +66,7 @@ - +
diff --git a/src/Squidex/app/features/administration/pages/users/user-page.component.ts b/src/Squidex/app/features/administration/pages/users/user-page.component.ts index 9dcb533ef..d0d9c2262 100644 --- a/src/Squidex/app/features/administration/pages/users/user-page.component.ts +++ b/src/Squidex/app/features/administration/pages/users/user-page.component.ts @@ -117,10 +117,10 @@ export class UserPageComponent implements OnInit { private resetFormState(message: string = '') { this.userFormSubmitted = false; + this.userFormError = message; this.userForm.enable(); this.userForm.controls['password'].reset(); this.userForm.controls['passwordConfirm'].reset(); - this.userFormError = message; } }