+ Use this area to provide additional information. +
+ ++ Use this area to provide additional information. +
+ ++ Use this area to provide additional information. +
++ @Html.ActionLink("Register", "Register") if you don't have an account. +
+} +You're logged in as @User.Identity.Name.
+ +@if (ViewBag.HasLocalPassword) +{ + @Html.Partial("_ChangePasswordPartial") +} +else +{ + @Html.Partial("_SetPasswordPartial") +} + +| @externalLogin.ProviderDisplayName | ++ @if (ViewBag.ShowRemoveButton) + { + using (Html.BeginForm("Disassociate", "Account")) + { + @Html.AntiForgeryToken() + + } + } + else + { + @: + } + | +
+ You do not have a local password for this site. Add a local + password so you can log in without an external login. +
+ +@using (Html.BeginForm("Manage", "Account")) { + @Html.AntiForgeryToken() + @Html.ValidationSummary() + + +} diff --git a/Backup/CustomAuthenticationMvc/Views/Home/About.cshtml b/Backup/CustomAuthenticationMvc/Views/Home/About.cshtml new file mode 100644 index 0000000..273ba3e --- /dev/null +++ b/Backup/CustomAuthenticationMvc/Views/Home/About.cshtml @@ -0,0 +1,34 @@ +@{ + ViewBag.Title = "About"; +} + + ++ Use this area to provide additional information. +
+ ++ Use this area to provide additional information. +
+ ++ Use this area to provide additional information. +
++ Main: + 425.555.0100 +
++ After Hours: + 425.555.0199 +
++ Support: + Support@example.com +
++ Marketing: + Marketing@example.com +
++ General: + General@example.com +
+
+ One Microsoft Way
+ Redmond, WA 98052-6399
+
+ @if (!Request.IsAuthenticated) {
+
+ @using (Html.BeginForm("RunHelloService", "Home")) {
+
+ }
+
+ @if (@ViewBag.Response != null)
+ {
+
@Html.ActionLink("your logo here", "Index", "Home")
+
Use another service to log in.
+ @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl }) +