Skip to content

Account Management

Trevor Fayas edited this page Jan 1, 2022 · 3 revisions

Not all, but many sites allow users to register to their site and log in. Kentico Xperience's Dancing Goat site featured these elements, but they were hard to extract. The Baseline provides these basic features in full for you in a cleaner, simpler fashion, plus it uses the Post Redirect Get methodology, allowing you to use Page Builder pages if you wish.

With Page Builder

To use the Account features with page builder, simply use the Generic.Account page type to create your pages, you will be presented with the various templates.

You will also want to go into Settings -> Urls & SEO and you'll see a new section Account Urls that you'll need to configure, this is so the tool knows what page to redirect to.

Without Page Builder

Each Account feature has its own controller and routing, and uses the other controllers as the fallback url for each step. Meaning that if you wish, you can use the default urls for account management and not have to configure anything.

Features

  • Log In (/Account/LogIn): Allows user to Log In
  • Log out (/Account/LogOut): Allows user to log out
  • Registration (/Account/Registration): Registers a user, sends an email to confirm the user's email address
  • Registration Confirmation (/Account/Confirmation): Confirms the registration email and activates the account.
  • Forgot Password (/Account/ForgotPassword): Sends a forgotten password reset link to the email of the user requesting.
  • Forgotten Password reset (/Account/ForgottenPasswordReset): Allows resetting of the account password.
  • Reset Password (/Account/ResetPassword): Allows logged in user to change their password.
  • My Account (/Account/MyAccount): Account page of the logged in user.

Each default URL can be adjusted in the Account Feature's Controller, and any element implemented with Page Builder can have the Url set through the Settings -> Urls & Seo -> Account Urls in the admin.

Removing Account Feature

If your site does not need a login, simply remove the Account Feature folder and the Generic.Account page type.

Clone this wiki locally