Re-added parameter to checkAdminCreationStatus

This commit is contained in:
Isaac Abadi
2020-07-27 22:01:47 -04:00
parent cd18bce509
commit f12ea017bc

View File

@@ -433,8 +433,8 @@ export class PostsService implements CanActivate {
password: password}, this.httpOptions); password: password}, this.httpOptions);
} }
checkAdminCreationStatus() { checkAdminCreationStatus(force_show = false) {
if (!this.config['Advanced']['multi_user_mode']) { if (!force_show && !this.config['Advanced']['multi_user_mode']) {
return; return;
} }
this.adminExists().subscribe(res => { this.adminExists().subscribe(res => {