mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-06 15:51:29 +03:00
Fixed bug that prevented admin creation prompt from occuring in the settings
This commit is contained in:
@@ -436,8 +436,8 @@ export class PostsService implements CanActivate {
|
||||
password: password}, this.httpOptions);
|
||||
}
|
||||
|
||||
checkAdminCreationStatus() {
|
||||
if (!this.config['Advanced']['multi_user_mode']) {
|
||||
checkAdminCreationStatus(skip_check = false) {
|
||||
if (!skip_check && !this.config['Advanced']['multi_user_mode']) {
|
||||
return;
|
||||
}
|
||||
this.adminExists().subscribe(res => {
|
||||
|
||||
Reference in New Issue
Block a user