Re-added parameter to checkAdminCreationStatus

pull/184/head
Isaac Abadi 5 years ago
parent cd18bce509
commit f12ea017bc

@ -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 => {

Loading…
Cancel
Save