mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
spelling: requirement
This commit is contained in:
parent
3c7da371d2
commit
e81a44fbc1
@ -413,7 +413,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// init validation reqirement at first time page load
|
// init validation requirement at first time page load
|
||||||
{% if SETTING.get('ldap_enabled') %}
|
{% if SETTING.get('ldap_enabled') %}
|
||||||
$('#ldap_uri').prop('required', true);
|
$('#ldap_uri').prop('required', true);
|
||||||
$('#ldap_base_dn').prop('required', true);
|
$('#ldap_base_dn').prop('required', true);
|
||||||
@ -453,7 +453,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// init validation reqirement at first time page load
|
// init validation requirement at first time page load
|
||||||
{% if SETTING.get('google_oauth_enabled') %}
|
{% if SETTING.get('google_oauth_enabled') %}
|
||||||
$('#google_oauth_client_id').prop('required', true);
|
$('#google_oauth_client_id').prop('required', true);
|
||||||
$('#google_oauth_client_secret').prop('required', true);
|
$('#google_oauth_client_secret').prop('required', true);
|
||||||
@ -488,7 +488,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// init validation reqirement at first time page load
|
// init validation requirement at first time page load
|
||||||
{% if SETTING.get('google_oauth_enabled') %}
|
{% if SETTING.get('google_oauth_enabled') %}
|
||||||
$('#github_oauth_key').prop('required', true);
|
$('#github_oauth_key').prop('required', true);
|
||||||
$('#github_oauth_secret').prop('required', true);
|
$('#github_oauth_secret').prop('required', true);
|
||||||
|
Loading…
Reference in New Issue
Block a user