Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 27 lines (25 sloc) 1.3 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<%@ 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>
Something went wrong with that request. Please try again.