Password reset sample package
No edit summary
No edit summary
Line 11: Line 11:
# Make sure you have email server set up.  
# Make sure you have email server set up.  
# Create an action that opens the "RestetPasswordPage" viewmodel.  
# Create an action that opens the "RestetPasswordPage" viewmodel.  
Download the model file here: [[:File:PasswordResetTemplate.zip]]
[[File:Password reset model sample.png|none|thumb|659x659px]]
[[File:Password reset model sample.png|none|thumb|659x659px]]

Revision as of 15:47, 14 August 2019

There's not build in password reset functionality in Turnkey. This is because if we had one, it would probably not fit you anyway.

Instead, you add this functionality to your model and are then free to integrate and adapt it as you feel needed.

If you use the default package for login, the ASPNETIdentity package, this package will just extend you model with the following;

  1. A reset password page that you can create an action to go to. This page should be without any access groups.
  2. A server side viewmodel that runs every 20 seconds and sends emails with reset instructions to your users. Remember to set the Turnkey/MDrivenServer's email server settings.
  3. A page for the user to set the password. This page also has information to the user about expired reset tickets and sending a new ticket in those circumstances.

You import this template and then you;

  1. Set the PasswordReset package's "Default superclass" if you want that.
  2. Make sure you have email server set up.
  3. Create an action that opens the "RestetPasswordPage" viewmodel.

Download the model file here: File:PasswordResetTemplate.zip

Password reset model sample.png
This page was edited 83 days ago on 02/10/2024. What links here