Unique Email Addresses
The Palos Verdes Library District just went live with SOPAC on July 13, and we have run into the issue of users needing a unique email address to register. This issue mainly effects couples who share an email address and parents who associate their email account with their children's accounts so they receive notifications that holds are ready for pickup.
A June 30, 2009 post on the Darien Public Library site shows that there are new alternatives to unique email addresses:
http://www.darienlibrary.org/node/1693
Are these alternatives available in the default SOPAC package?



Erik,
I've written a custom module for Darien library that adds those additional elements and I've attached it for your review. We ran in to the same issue and had to accommodate our users, especially in preparation for our Summer Reading program.
Thank you for the custom module! We will definitely check it out.
Best,
Erik
No problem. I should actually mention that it's two modules, but I'm sure you'll notice that. It also depends on logintoboggan. It allows for users to share email, as well as register without email if they have a valid library card number. Remember, though, that if they don't register with an email address, they will not be able to recover their passwords without help. Also, you'll probably notice some mail errors in your Drupal log--they can be ignored.
Allowing multiple accounts to share the same password creates a possible problem scenario. If such a user uses the forgot password form, and submits their email address, Drupal will have no way of knowing which user is making the request. Initially, one might think that's okay since the email will go to the same email address regardless. However, the email will contain login information for a specific account, and we obviously want it to be for the correct account.
The functions below add validation to check for this scenario. If it occurs, the form is rejected, and the user is asked to submit their username.
Nice fix, Sid. Thanks.