From f12ea017bcea0b73270684128762edf1b81d2f54 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Mon, 27 Jul 2020 22:01:47 -0400 Subject: [PATCH] Re-added parameter to checkAdminCreationStatus --- src/app/posts.services.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => {