From 3ea708aca507c492d56367d4b2f895c3c8cb002a Mon Sep 17 00:00:00 2001 From: tidusjar Date: Mon, 25 Apr 2016 13:52:37 +0100 Subject: [PATCH] added the missing baseurl bit on the login page for #72 --- PlexRequests.UI/Views/Login/Index.cshtml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/PlexRequests.UI/Views/Login/Index.cshtml b/PlexRequests.UI/Views/Login/Index.cshtml index 0662e2cb2..ce438d249 100644 --- a/PlexRequests.UI/Views/Login/Index.cshtml +++ b/PlexRequests.UI/Views/Login/Index.cshtml @@ -1,4 +1,13 @@ -
+@using PlexRequests.UI.Helpers +@{ + var baseUrl = Html.GetBaseUrl(); + var url = string.Empty; + if (!string.IsNullOrEmpty(baseUrl)) + { + url = "/" + baseUrl; + } +} + Username
Password @@ -10,7 +19,7 @@
@if (!Model.AdminExists) { -
If you have not yet created an Admin account you can do here: Register
+
If you have not yet created an Admin account you can do here: Register
} @if (Model.Errored) {