Skip to content

Commit

Permalink
Add comment login.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pappz committed Mar 10, 2023
1 parent c34af64 commit 74c3226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/internal/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
mgmProto "github.com/netbirdio/netbird/management/proto"
)

// IsLoginRequired check that the server is support SSO or not
func IsLoginRequired(ctx context.Context, privateKey string, mgmUrl *url.URL, sshKey string) (bool, error) {
// validate our peer's Wireguard PRIVATE key
myPrivateKey, err := wgtypes.ParseKey(privateKey)
Expand Down

0 comments on commit 74c3226

Please sign in to comment.