Use replacePath() instead of path()
This commit is contained in:
parent
4df73714e0
commit
044aca0863
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ public class FreeMarkerLoginFormsProvider implements LoginFormsProvider {
|
|||
*/
|
||||
private UriBuilder getTotpUriBuilder() {
|
||||
return uriInfo.getBaseUriBuilder()
|
||||
.path(uriInfo.getRequestUri().getPath())
|
||||
.replacePath(uriInfo.getRequestUri().getPath())
|
||||
.replaceQuery(uriInfo.getRequestUri().getQuery());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue