summaryrefslogtreecommitdiffstats
path: root/src/OpenID/OpenIdRelyingPartyMvc/Views/Home/Index.aspx
blob: ba9ddfdfcf5a590afe3b91120fd3af08fcdf1265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
	<h1>OpenID Relying Party </h1>
	<h2>Provided by <a href="http://dotnetopenauth.net">DotNetOpenAuth</a> </h2>
	<% if (User.Identity.IsAuthenticated) { %>
	<p><b>You are already logged in!</b> Try visiting the
		<%=Html.ActionLink("Members Only", "Index", "User") %>
		area. </p>
	<% } else { %>
	<p>Visit the
		<%=Html.ActionLink("Members Only", "Index", "User") %>
		area to trigger a login. </p>
	<% } %>
</asp:Content>