mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Generate only one login link
This commit is contained in:
@@ -39,10 +39,7 @@ public class IndexDtoGenerator {
|
||||
}
|
||||
builder.single(link("repositories", resourceLinks.repositoryCollection().self()));
|
||||
} else {
|
||||
builder.single(
|
||||
link("formLogin", resourceLinks.authentication().formLogin()),
|
||||
link("jsonLogin", resourceLinks.authentication().jsonLogin())
|
||||
);
|
||||
builder.single(link("login", resourceLinks.authentication().jsonLogin()));
|
||||
}
|
||||
|
||||
return new IndexDto(builder.build());
|
||||
|
||||
Reference in New Issue
Block a user