From 0e75a5d148b5a86fd61305c8c05fe65c9d37ee30 Mon Sep 17 00:00:00 2001 From: Vazhin Tayeb Date: Tue, 19 Jan 2021 13:17:16 +0300 Subject: [PATCH] Cutomizes login page of the identity server --- .../Views/Home/Index.cshtml | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/CSharp/AuthorizationServer/Views/Home/Index.cshtml b/CSharp/AuthorizationServer/Views/Home/Index.cshtml index b810e49..a9c41c0 100644 --- a/CSharp/AuthorizationServer/Views/Home/Index.cshtml +++ b/CSharp/AuthorizationServer/Views/Home/Index.cshtml @@ -1,32 +1,33 @@ @using System.Diagnostics @{ - var version = FileVersionInfo.GetVersionInfo(typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.Location).ProductVersion.Split('+').First(); + var version = + FileVersionInfo.GetVersionInfo(typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.Location).ProductVersion.Split('+').First(); }
-

- - Welcome IdentityServer4 - (version @version) -

+
+
+
+

+ Identity Server +

- +

This service is a centeralized + authentication tool. It's used + for + all of the kurdistan's digital + services. +

+ + @if (User.Identity.IsAuthenticated == false) + { +
+ Login +
+ } +
+
+