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);
}
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 => {