aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/core/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/config.go b/bridge/core/config.go
index adee5f08..8d306ef6 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
}