diff --git a/src/app/posts.services.ts b/src/app/posts.services.ts index c625f13..ae14925 100644 --- a/src/app/posts.services.ts +++ b/src/app/posts.services.ts @@ -433,8 +433,8 @@ export class PostsService implements CanActivate { password: password}, this.httpOptions); } - checkAdminCreationStatus() { - if (!this.config['Advanced']['multi_user_mode']) { + checkAdminCreationStatus(force_show = false) { + if (!force_show && !this.config['Advanced']['multi_user_mode']) { return; } this.adminExists().subscribe(res => {