Skip to content

Commit

Permalink
removed wrong else block
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Barheine committed Sep 9, 2019
1 parent d65117c commit 70a436d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/keystone/keystone.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ func (d *keystone) authOptionsFromRequest(r *http.Request, guessScope bool) (*go
if err := d.guessScope(&ba); err != nil {
return nil, err
}
} else {
return nil, NewAuthenticationError(StatusMissingCredentials, "Basic authorization credentials missing OpenStack authorization scope part")
}

// set password
Expand Down

0 comments on commit 70a436d

Please sign in to comment.