Skip to content

Commit

Permalink
Merge pull request #52 from Lombiq/issue/LMBQ-113
Browse files Browse the repository at this point in the history
LMBQ-113: Remove superfluous trailing semicolons, formatting
  • Loading branch information
DemeSzabolcs authored Apr 19, 2023
2 parents 070556c + fee4721 commit a3018a3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@using Microsoft.AspNetCore.Http;
@inject Lombiq.Hosting.Tenants.Admin.Login.Services.ITenantLoginPasswordValidator TenantLoginPasswordProvider;
@using Microsoft.AspNetCore.Http
@inject Lombiq.Hosting.Tenants.Admin.Login.Services.ITenantLoginPasswordValidator TenantLoginPasswordProvider

@{
var host = ((string)Model.RequestUrlHost)
Expand All @@ -9,7 +9,7 @@

var hostString = host != null ? new HostString(host) : Context.Request.Host;

var actionPath = $"/Lombiq.Hosting.Tenants.Admin.Login/TenantLogin/Index";
var actionPath = "/Lombiq.Hosting.Tenants.Admin.Login/TenantLogin/Index";
var actionPathWithPrefix = string.IsNullOrEmpty(Model.RequestUrlPrefix)
? actionPath
: '/' + Model.RequestUrlPrefix + actionPath;
Expand All @@ -18,7 +18,7 @@
{
Scheme = Context.Request.Scheme,
Host = hostString.Host,
Path = actionPathWithPrefix
Path = actionPathWithPrefix,
};

if (hostString.Port != null) tenantLoginUri.Port = hostString.Port.Value;
Expand Down

0 comments on commit a3018a3

Please sign in to comment.