diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index dcbba73..26eb3ea 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -1,4 +1,8 @@ - +@using Microsoft.AspNetCore.Http; +@using Microsoft.AspNetCore.Mvc; +@using EFB.Sessions; + + @@ -21,7 +25,34 @@ + + + + + + @{ + UserModel user = Context.Session.GetObject("User"); + if (user != null && user.UserToken.TokenValue != null) + { +
+ +
+ } + } + + +