Login and Logout button widget

You use the Login and logout button widget to display information about the user currently logged. The widget also enables users to log in and log out. By default, the Login and logout button widget displays:

  • First and last name of the user
  • User's avatar image
  • Logout button

If no user is logged, a Register now link is displayed.

Configure the Login and logout button widget

  1. Place the Login and logout button widget on a page.
    Click the Edit button in the upper-right corner of the widget.
  2. Configure the following settings:
    • Login page selector
      In case the Login form and the Login and logout button widgets are on different pages, select the page, on which the Login form widget is placed. Thus, when a user, clicks the Log in link, the proper login page is displayed.
    • Registration page selector
      Select the page, on which you placed the Registration widget. 
    • After logout users will be redirected to... selector
      Select the page you want displayed when users log out.
    • User profile page selector
      Select the page where you placed the Profile widget.
    • Template selector
      Choose a template from the list with predefined widget templates.

      NOTE: You can optionally customize the default widget template or create a new template for the Login and logout button widget. For more information, see Widget templates.

    • Optionally, enable users to login with Windows Security Token Service
      For more information, see Overview: Authentication models.
    • CSS classes
      You can specify a CSS class to be applied to the Login and logout button widget.
  3. When you are finished, click Save.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?