Review
When the SharePoint 2013 WebApplication is configured to log in mixed mode (FBA authentication and Windows authentication), we can, of course, customize the landing page (Sign in page). After you login to the SharePoint 2013 Central Administratio, locate the corresponding WebApplication and specify its sign in Page URL, as follows:
Create a custom landing page
First, to create a custom landing page, I chose Application page, which will be deployed in layouts and the same folder as the project name (C:\Program files\common Files\Microsoft Shared\Web Server extensions\15\template\layouts).
Then, in order to prevent the master page from having an effect on application pages, it is necessary to remove the reference to the master page, that is, dynamicmasterpagefile= "~masterurl/default.master"
Because the reference to the master page is removed, the 〈asp:content/> Control for the "landfills" control is not needed, so the entire application page is redesigned.
The login control based on form verification (FBA) selects the asp.net login control and sets its related properties. Take a common attribute as an example:
FailureText: message that prompts when landing fails
MembershipProvider: Custom Membership Provider, you need to inherit MembershipProvider, as detailed in the SharePoint 2013 Custom providers applications in form-based authentication (forms-based-authentication)
Displayrememberme:bool type that indicates whether to show remember me
Remembermeset: Indicates whether to send a persisted authenticated cookie to the user's browser, which defaults to False
TextLayout: There are 2 options, textonleft (label in TextBox left), Textontop (label on textbox)
Usernamelabeltext: User name label display text
Passwordlabeltext: Password Label display text
Loginbuttontype: There are 3 kinds of choices, Image, button,image
Loginbuttonimageurl: If Loginbuttontype chooses image, this property represents an image address