Login widget

Using the Login widget, your website users will be able to login to your website. The widget displays a username and password login fields and additional login options that you have configured.

IMPORTANT: Depending on which authentication mode you are using, you have to use different widgets. If you are in claims-based authentication mode, use the Login widget. If you are in forms authentication, use the Login (backward compatibility) widget. For more information about authentication modes and how to switch between them, see Authentication and Single Sign-On (SSO).

NOTE: In claims-based mode, you can use functionality for changing password. For more information, see Change password widget widget.

To setup login on your website, perform the following:

  1. Drag the respective Login widget on the page and click the Edit button in the upper-right corner of the widget.
    The widget configuration opens in advanced mode.
    For more information about advanced configuration options, see Advanced configuration of widgets.
  2. In DestinationPageUrl, enter the URL of the page where the user will be redirected after successful login.
  3. In IncorrectLoginMessage, enter a message that is displayed if the credentials of the user are incorrect.
  4. In UsernameLabel, enter the label of the Username field.
  5. In PasswordLabel, enter the label of the Password field. 
  6. In LoginButtonLabel, enter the label of the login button.
  7. To configure change password functionality, perform the following:
    1. In ShowLostPasswordLink, enter true, if you want to display Forgot your password? link, which the user can use to change the password.
    2. In ChangePasswordPageUrl, enter the URL of the page where the user can change password.
      The page must contain the Change password widget.
  8. Configure link to registration form, perform the following:
    1. In ShowRegisterUserLink, enter true
    2. In RegisterUserPageUrl, enter the URL of the registration page.
      The page must contain the Registration widget.
    3. In RegisterUserLabel, enter the label of the registration link.
  9. When you are finished, click Save.
    The Edit window closes.

NOTE: If you are experiencing problems with the login when an SSL certificate is installed on the login page, click Administration » Settings » Advanced » Security. In AccessControlAllowOrigin, enter *. If this does not solve your problem, return its value to null.

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?

Next article

Login name widget