Merge pull request #2156 from drewish/optional-basic-auth-password
Don't require a password
This commit is contained in:
@@ -48,9 +48,5 @@ SwaggerUi.Views.BasicAuthView = Backbone.View.extend({
|
||||
if (!this.model.get('username')) {
|
||||
this.$(this.selectors.usernameInput).addClass(this.cls.error);
|
||||
}
|
||||
|
||||
if (!this.model.get('password')) {
|
||||
this.$(this.selectors.passwordInput).addClass(this.cls.error);
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user