github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/actionerror/password_grant_type_logout_required.go (about)

     1  package actionerror
     2  
     3  // PasswordGrantTypeLogoutRequiredError is returned when a user tries to
     4  // authenticate with the password grant type, but a previous user had
     5  // authenticated with the client grant type
     6  type PasswordGrantTypeLogoutRequiredError struct{}
     7  
     8  func (PasswordGrantTypeLogoutRequiredError) Error() string {
     9  	return "Service account currently logged in. Use 'cf logout' to log out service account and try again."
    10  }