mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-30 03:09:13 +01:00
Remove plugin center login without url (#1978)
This removes the "login" button for the plugin center, when the authentication url is not set.
This commit is contained in:
@@ -263,7 +263,7 @@ public class PluginCenterAuthResource {
|
||||
.toASCIIString();
|
||||
builder.single(Link.link("reconnect", reconnectLink));
|
||||
}
|
||||
} else {
|
||||
} else if (!Strings.isNullOrEmpty(configuration.getPluginAuthUrl())) {
|
||||
builder.single(Link.link(METHOD_LOGIN, uriInfo.getAbsolutePathBuilder().path(METHOD_LOGIN).build().toASCIIString()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user