mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-23 10:53:20 +03:00
Re-added parameter to checkAdminCreationStatus
This commit is contained in:
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user