mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
New: Forms authentication
This commit is contained in:
@@ -35,7 +35,7 @@ define(
|
||||
},
|
||||
|
||||
onRender: function(){
|
||||
if(!this.ui.authToggle.prop('checked')){
|
||||
if(this.ui.authToggle.val() === 'none'){
|
||||
this.ui.authOptions.hide();
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ define(
|
||||
|
||||
_setAuthOptionsVisibility: function () {
|
||||
|
||||
var showAuthOptions = this.ui.authToggle.prop('checked');
|
||||
var showAuthOptions = this.ui.authToggle.val() !== 'none';
|
||||
|
||||
if (showAuthOptions) {
|
||||
this.ui.authOptions.slideDown();
|
||||
|
||||
Reference in New Issue
Block a user