fix(auth): replace wastedassign ok := false with var ok bool
This commit is contained in:
parent
d2924bc5ac
commit
acea8bec21
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ func (h *launcherAuthHandlers) handleLogin(w http.ResponseWriter, r *http.Reques
|
|||
return
|
||||
}
|
||||
in := strings.TrimSpace(body.Password)
|
||||
ok := false
|
||||
var ok bool
|
||||
|
||||
if h.isStoreInitialized(r.Context()) {
|
||||
// Bcrypt path: verify against the stored hash.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue