Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 1.27 KB
<%@ Page Language="C#" MasterPageFile="~/MoMA.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="MoMA Studio - Login" %>
<asp:Content ID="ContentHeaderContent" ContentPlaceHolderID="ContentHeaderPlaceholder" runat="server">
Login
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="BodyContentPlaceHolder" runat="Server">
<asp:LoginView ID="LoginView1" runat="server">
<AnonymousTemplate>
<div style="float: left">
<asp:Login ID="Login1" runat="server" CreateUserText="Sign up for your new account"
CreateUserUrl="~/Register.aspx" TitleText=""
OnLoginError="Login1_LoginError" DestinationPageUrl="~/Overview.aspx"
onloggedin="Login1_LoggedIn">
</asp:Login>
<asp:Label ID="LoginErrorDetails" runat="server" ForeColor="Red"></asp:Label>
</div>
<div style="float: right">
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server">
</asp:PasswordRecovery>
</div>
</AnonymousTemplate>
<LoggedInTemplate>
You are already logged in!
</LoggedInTemplate>
</asp:LoginView>
</asp:Content>