Skip to content

Commit f73895c

Browse files
gogolokrubenhoenle
authored andcommitted
Support opening auth url on FreeBSD
1 parent 5003626 commit f73895c

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)