From 4cf01fb9c4f4e748f89daea25bc165f20028db4a Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sun, 20 Nov 2016 19:24:04 +0000 Subject: [PATCH] Added missing migration --- PlexRequests.Core.Migration/Migrations/Version1100.cs | 1 + PlexRequests.UI/Views/Shared/Partial/_Navbar.cshtml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PlexRequests.Core.Migration/Migrations/Version1100.cs b/PlexRequests.Core.Migration/Migrations/Version1100.cs index 3a7094954..351ef723d 100644 --- a/PlexRequests.Core.Migration/Migrations/Version1100.cs +++ b/PlexRequests.Core.Migration/Migrations/Version1100.cs @@ -189,6 +189,7 @@ namespace PlexRequests.Core.Migration.Migrations con.AlterTable("PlexUsers", "ADD", "Features", true, "INTEGER"); con.AlterTable("PlexUsers", "ADD", "Username", true, "VARCHAR(100)"); con.AlterTable("PlexUsers", "ADD", "EmailAddress", true, "VARCHAR(100)"); + con.AlterTable("PlexUsers", "ADD", "LoginId", true, "VARCHAR(100)"); //https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//aqhAqttDq7zgsTaBHtCD8wmTk6k.jpg diff --git a/PlexRequests.UI/Views/Shared/Partial/_Navbar.cshtml b/PlexRequests.UI/Views/Shared/Partial/_Navbar.cshtml index b3bba3bba..67b1701f8 100644 --- a/PlexRequests.UI/Views/Shared/Partial/_Navbar.cshtml +++ b/PlexRequests.UI/Views/Shared/Partial/_Navbar.cshtml @@ -56,7 +56,7 @@ @*@if (Context.CurrentUser.IsAuthenticated()) // TODO replace with IsAdmin*@ @if (Html.IsAdmin()) { -
  • @UI.Layout_Welcome @Context.Request.Session[SessionKeys.UsernameKey]
  • +
  • @UI.Layout_Welcome @Context.CurrentUser.UserName