mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-16 08:20:24 +08:00
AUTH-1188: UX Review and Changes for CLI SSH Access
This commit is contained in:
committed by
Areg Harutyunyan
parent
6acc95f756
commit
80a75e91d2
@@ -11,7 +11,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/cloudflared/cmd/cloudflared/access"
|
||||
"github.com/cloudflare/cloudflared/cmd/cloudflared/token"
|
||||
"github.com/cloudflare/cloudflared/websocket"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
@@ -121,7 +121,7 @@ func buildAccessRequest(originURL string) (*http.Request, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
token, err := access.FetchToken(req.URL)
|
||||
token, err := token.FetchToken(req.URL)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user