Website Summary Files Commits Branches @commit @diff @stats
path: root / ExamTemplate / Web / Views / Shared
diff options
context:
space:
mode:
Commit82d270a66b8ffca28e321f29b2eb90b2412ac9a7 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-08 18:10:08 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-05-08 18:10:08 +0300
Filesbd7e985592a0d8d5ec31b590b3c52d403e17e140 /ExamTemplate/Web/Views/Shared
it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar
it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar.gz
it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.zip
Parenta1e46b76a1299e35b1ac8cae69e77c66d74224a6 (diff)
Implemented authorization; Replaced Role with IdentityRole<Guid>; Renamed UserController to AccountController, updated links
1 files changed, 4 insertions, 4 deletions
-rw-r--r--ExamTemplate/Web/Views/Shared/_Navbar.cshtml8
diff --git a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
index 7ae8f50..0ec5c4d 100644
--- a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
+++ b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
@@ -13,18 +13,18 @@
<section>
@if (SignInManager.IsSignedIn(User))
{
- <a asp-controller="User" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)">
+ <a asp-controller="Account" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)">
@UserManager.GetUserName(User)
</a>
- <form asp-controller="User" asp-action="Logout" method="post">
+ <form asp-controller="Account" asp-action="Logout" method="post">
<input type="submit" value="Logout">
</form>
}
else
{
- <a asp-controller="User" asp-action="Login">Login</a>
- <a asp-controller="User" asp-action="Register">Register</a>
+ <a asp-controller="Account" asp-action="Login">Login</a>
+ <a asp-controller="Account" asp-action="Register">Register</a>
}
</section>
</div>