diff --git a/bridge/core/config.go b/bridge/core/config.go index adee5f08e9b8ea145d79ebc24346913903ea7534..8d306ef679045079c2786fe9407e49001ce931dc 100644 --- a/bridge/core/config.go +++ b/bridge/core/config.go @@ -19,7 +19,7 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error { // if a default user exist, tag it with the login user, err := repo.GetUserIdentity() - if err != nil && err != identity.ErrIdentityNotExist { + if err != nil && err != identity.ErrNoIdentitySet { // real error return err }