GitLab: Allow localhost for server

Change-Id: I026f6a72c9eb0b377319fca847062885c666ed4a
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2022-06-08 11:52:31 +02:00
parent 0cfd264279
commit e42ff3f14e

View File

@@ -57,7 +57,7 @@ static bool hostValid(const QString &host)
}
return true;
}
return dn.match(host).hasMatch();
return (host == "localhost") || dn.match(host).hasMatch();
}
GitLabServerWidget::GitLabServerWidget(Mode m, QWidget *parent)