Skip to content

Commit

Permalink
Revert sys shared endpoint error msg (#4876)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Quandt <[email protected]>
  • Loading branch information
thquad committed Feb 22, 2021
1 parent 7407830 commit 9fa8e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jetstream/authcnsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (p *portalProxy) DoLoginToCNSI(c echo.Context, cnsiGUID string, systemShare
if systemSharedToken {
user, err := p.StratosAuthService.GetUser(userID)
if err != nil {
return nil, echo.NewHTTPError(http.StatusUnauthorized, "Can not connect - could not check user")
return nil, echo.NewHTTPError(http.StatusUnauthorized, "Can not connect System Shared endpoint - could not check user")
}

// User needs to be an admin
Expand Down

0 comments on commit 9fa8e14

Please sign in to comment.