|
- if strings.Contains(err.Error(), "Authentication failed") ||
|
|
+ if strings.Contains(err.Error(), "fatal:") ||
|
|
strings.Contains(err.Error(), "could not read Username") {
|
|
strings.Contains(err.Error(), "could not read Username") {
|
|
ctx.RenderWithErr(ctx.Tr("form.auth_failed", strings.Replace(err.Error(), ":"+form.AuthPassword+"@", ":<password>@", 1)), MIGRATE, &form)
|
|
ctx.RenderWithErr(ctx.Tr("form.auth_failed", strings.Replace(err.Error(), ":"+form.AuthPassword+"@", ":<password>@", 1)), MIGRATE, &form)
|