Skip to content

Commit

Permalink
Review#3: rely on serverBasePath provided by the core for the consist…
Browse files Browse the repository at this point in the history
…ency sake.
  • Loading branch information
azasypkin committed Mar 20, 2020
1 parent aae6867 commit 1204619
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export class Authenticator {
if (useLoginSelector) {
this.logger.debug('Redirecting request to Login Selector.');
return AuthenticationResult.redirectTo(
`${this.serverBasePath}login?next=${encodeURIComponent(
`${this.options.basePath.serverBasePath}/login?next=${encodeURIComponent(
`${this.options.basePath.get(request)}${request.url.path}`
)}`
);
Expand Down

0 comments on commit 1204619

Please sign in to comment.