Skip to content

Commit 58bb406

Browse files
authored
fix(auth): support opening auth url on FreeBSD (#1243)
1 parent 304da36 commit 58bb406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/auth/user_login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func cleanup(server *http.Server) {
342342
func openBrowser(pageUrl string) error {
343343
var err error
344344
switch runtime.GOOS {
345-
case "linux":
345+
case "freebsd", "linux":
346346
// We need to use the windows way on WSL, otherwise we do not pass query
347347
// parameters correctly. https://github.com/microsoft/WSL/issues/3832
348348
if _, ok := os.LookupEnv("WSL_DISTRO_NAME"); !ok {

0 commit comments

Comments
 (0)