BaseUrl is finally finished! #72

This commit is contained in:
tidusjar 2016-04-16 14:02:06 +01:00
parent 47dc543b09
commit 67c968e886
17 changed files with 201 additions and 64 deletions

View file

@ -75,6 +75,11 @@ namespace PlexRequests.UI.Modules
}
Session[SessionKeys.UsernameKey] = username;
Session[SessionKeys.ClientDateTimeOffsetKey] = dtOffset;
if (!string.IsNullOrEmpty(BaseUrl))
{
return this.LoginAndRedirect(userId.Value, expiry, $"/{BaseUrl}");
}
return this.LoginAndRedirect(userId.Value, expiry);
};