Aspen Discovery

Password Reset via Email in Aspen Discovery

You now have the ability to allow your patrons to reset their password within Aspen Discovery without being sent to Koha to reset! This is referring to the capability to change your password/PIN prior to logging in, so an email must be sent to you. You also have the ability to change your password once logged in.


In order to enable the password reset prior to login you will want to enable the ability within Aspen under Primary Configuration. Open the library system you want this ability for and scroll down to ILS/Account integration. Within User Profile you will see the option to 'Enable Forgot Password Link' - this will need to be clicked on. Once this is turned on, patrons will see the option to reset their password on the login screen.


Now that you have enabled this functionality within Aspen Discovery your PASSWORD_RESET notice in Koha needs a little tweaking.

In Koha go to Notices & slips within the tools module. If this notice has not been edited the default will have a portion directing the patron to the Koha reset link. The part of the notice that needs to be changed looks like this:

<p>
You can now create your new password using the following link:
<br/><a href="<<passwordreseturl>>"><<passwordreseturl>></a>
</p>

You will want that to become:

<p>
You can now create your new password using the following link:

[% passwordurl = passwordreseturl %]

[% passwordurlreplace = passwordurl.replace('https://model.bywatersolutions/cgi-bin/koha/opac-password-recovery.pl','https://aspen-model.bywatersolutions.com/MyAccount/PasswordRecovery') %]
<br/><a href="[% passwordurlreplace %]">[% passwordurlreplace%]</a>

</p>

You will need to customize the urls with your individual Koha OPAC and Aspen Discovery layer links. The first link in passwordurl.replace() needs to be the email that lives in your Koha system preference OPACbaseURL with the extension

/cgi-bin/koha/opac-password-recovery.pl

while the second url needs to be your Aspen Discovery layer URL with the extension

/MyAccount/PasswordRecovery

If you have questions about this process, feel free to reach out to your Aspen Discovery and Koha support company.

Read more by Addie Van Salisbury

Tags