Skip to content

Commit d0a4001

Browse files
committed
Remove ambiguous return in login handler
1 parent 805f411 commit d0a4001

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ func (s *server) handleLogin() http.HandlerFunc {
8585
} else {
8686
// email not found
8787
http.Error(w, fmt.Sprintf("{ \"error\": \"%s\" }", "Email not found"), 401)
88-
return
8988
}
9089
}
9190
}

0 commit comments

Comments
 (0)