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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?