Password Reset via Email in Aspen Discovery and Koha
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. Also, double check the subject line and update it to not include Koha. 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:
<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://{LIBRARY}.bywatersolutions.com/cgi-bin/koha/opac-password-recovery.pl','https://{LIBRARY}.aspendiscovery.org/MyAccount/PasswordRecovery') %]
<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 URL 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
The OPACBaseURL must remain the Koha OPAC URL. Do not change OPACBaseURL to your Aspen URL, or the above URL replacement will not work.
Replace:
{KohaOPACURL} and {AspenURL}
<html>
<p>This email has been sent in response to your password recovery request for the account <strong><<user>></strong>.
</p>
<p>
You can now create your new password using the following link:
[% passwordurl = passwordreseturl %]
[% passwordurlreplace = passwordurl.replace('https://{KohaOPACURL}/cgi-bin/koha/opac-password-recovery.pl','{AspenURL}/MyAccount/PasswordRecovery') %]
<a href="[% passwordurlreplace %]">[% passwordurlreplace%]</a>
</p>
<p>This link will be valid for 2 days from this email's reception, then you must reapply if you do not change your password.</p>
<p>Thank you.</p>
</html>
If you have questions about this process, feel free to reach out to your Aspen Discovery and Koha support company.
Related Articles
Passwords in Koha
Koha has several system preferences and patron category customizations for setting up and keeping passwords up to date. minpasswordlength - how long should the password be - at a minimum! RequireStrongPassword - a strong password for staff and ...
Aspen/Koha Glossary
Aspen Koha Description Materials request Purchase suggestion Allows patrons to request that the library purchase a title Freeze/unfreeze Suspend/unsuspend Temporary pause on a hold Patron types Patron categories Broad groupings of patrons (including ...
Koha Glossary of Terms
Find the basics of Koha's vocabulary here This glossary is in alphabetical order. Use control+F to quickly search this page for specific terms. Authority Record: allows your library to control and search fields in your MARC records such as subject ...
Koha to Koha ILL
This articles walks through the steps of setting up a Koha to Koha interlibrary loan instance. The ILL (Interlibrary loans) module adds the ability to request and manage loans or copies of material. Patrons can submit a request via the OPAC from the ...
Managing Patron Categories
Patron Categories are created and configured in Administration > Patrons and Circulation. The configuration allows the library to define default settings that are applied at the time of registration. Passwords ...