More in this section

Forums / General Discussions / Customize login function

Customize login function

2 posts, 0 answered
  1. Pik Lee
    Pik Lee avatar
    142 posts
    13 Aug 2012
    05 Jul 2011
    Link to this post
    For the login function, I would like to customize it so the username and password will not be case sensitive. For sitefinity 3.x, I can customized the LoginControl.ascx. How do I accomplish this in sitefinity 4.x?


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    06 Jul 2011
    Link to this post
    Hi Pik ,

    You can create a custom control that inherits from Telerik.Sitefinity.Web.UI.PublicControls.LoginControl. The control has public properties that you can override
    public virtual string UserName
    public virtual string Password

    so you can set ToLower.

    You need to override the CreateUserForm as well so that you will have unified names/password.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered