Skip to content

Commit

Permalink
Update web login message
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Apr 30, 2024
1 parent 1d8d9c0 commit 1473004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artifactory/utils/weblogin.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func DoWebLogin(serverDetails *config.ServerDetails) (token auth.CommonTokenPara
}
if err = accessManager.SendLoginAuthenticationRequest(uuidStr); err != nil {
err = errors.Join(err,
errorutils.CheckErrorf("The 'Web Login' functionality is only supported for Artifactory version 7.64.0 and above. "+
"Make sure the details you entered are correct and that Artifactory meets the version requirement."))
errorutils.CheckErrorf("it looks like the Web Login is unavailable. This could be because your JFrog Artifactory version is less than 7.64.0. "+
"You can use the \"jf c add\" command to authenticate with the JFrog Platform"))
return
}
log.Info("After logging in via your web browser, please enter the code if prompted: " + uuidStr[len(uuidStr)-4:])
Expand Down

0 comments on commit 1473004

Please sign in to comment.