More in this section

Forums / Developing with Sitefinity / How to login to Cms from LogIn control?

How to login to Cms from LogIn control?

4 posts, 0 answered
  1. Giorgos
    Giorgos avatar
    42 posts
    Registered:
    14 Nov 2009
    26 Nov 2009
    Link to this post
    Hello,

    I am Building a site with Sitefinity Community 3.7.
    I have made some pages to be visible on specific category of users.
    I put a logIn control on my Home page and when i login with specific username it shows me the web site according the user.How also, i could login to Cms?

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    26 Nov 2009
    Link to this post
    Hi Giorgos Manos,

    You can access the backend directly typing Sitefinity/Login.aspx or set DestinationPageUrl property of the login control to point the the backend.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Giorgos
    Giorgos avatar
    42 posts
    Registered:
    14 Nov 2009
    26 Nov 2009
    Link to this post
    I  thought there is better way but it's ok.
    Thank you for your help.
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    26 Nov 2009
    Link to this post
    Hello Giorgos Manos,

    You can change the default login path for your website in the web.config to your login page. Then when you make a request to enter the CMS area and are not logged in you will be redirected to your login page:
    <authentication mode="Forms">
                <forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/" />
            </authentication>

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
4 posts, 0 answered