[Koha] Allowing patrons to set their passwords during self-registration

Hugh Rundle HughR at brimbank.vic.gov.au
Wed Dec 20 11:03:21 NZDT 2017


Hi Arturo et al

What version are  you using?

We're on 16.11 and using this exact scenario. In our setup:

* Online registration allows for patron to enter their own password
* Account must be confirmed using the link in the confirmation email
* The password the patron created is the one that works
* The auto-generated password (that does not work) is displayed on the confirmation screen along with their login

Obviously the last point is problematic, but that may simply be a setting I've got wrong.



Hugh Rundle
Library Systems & Resource Coordinator
Community Learning & Participation

Brimbank City Council
Brimbank Community and Civic Centre - 301 Hampshire Road, Sunshine

T +61 3 9249 4170
M +61 437 734 108
F +61 3 9249 4351

www.brimbank.vic.gov.au
-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Arturo Longoria
Sent: Wednesday, 20 December 2017 8:38 AM
To: Koha
Subject: Re: [Koha] Allowing patrons to set their passwords during self-registration

Hi Liz,

Thank you for your tip on how to access the queued e-mail messages! With that information, I was able to view the generated e-mail from this morning and can confirm what I'd suspected -- Koha will ignore the user-supplied password during self-registration if e-mail verification is required.

I have filed a bug for this behavior: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19845

Arturo

-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Liz Rea
Sent: Tuesday, December 19, 2017 14:52
To: Koha-Mailinglist <Koha at lists.katipo.co.nz>
Subject: Re: [Koha] Allowing patrons to set their passwords during self-registration

Hi Arturo,

While I haven't tested your scenario precisely, it's possible that the reason that you are having problems here is that we don't want to set a password before the account has been confirmed via email. A possible shortcoming of the feature is that it doesn't take this into account (but haven't tested it so don't take that as absolute truth).

Regarding the emails, you can see the registration emails and links by putting this report into your saved sql reports:

select to_address, content, time_queued from message_queue where
date(time_queued) = CURDATE();

Then copy/paste the link from the content into your browser.

The sandboxes don't send mail for a very good reason, to keep spammers from using them for evil.

Good luck, happy testing,

Liz

Catalyst IT

ps with apologies to Arturo, I didn't send this to the list and I should have, so sending it again.

On 20/12/17 07:12, Arturo Longoria wrote:
> No solution yet. I have a suspicion that the problem I'm seeing is because our library has the  PatronSelfRegistrationVerifyByEmail set to "Require" rather than "Don't require."
>
> I set up sandbox 6 from BibLibre to test this theory out with master, and if I set the preference to "Don't require," it will allow me to set my own password during self-registration without issue after I configure it to require a password during self-registration. The account is created successfully and with the password I indicated.
>
> I then wanted to test it out with "Require," but I'm experiencing an issue with the sandbox not sending out any e-mails. I've added an e-mail address to the KohaAdminEmailAddress per the instructions in the wiki, but no luck -- e-mails are not being sent at all, so I'm not able to test whether it will allow me to keep the password I entered in the form once I verify my e-mail.
>
> Other than entering a valid e-mail in KohaAdminEmailAddress, is there anything else I would need to do in the sandbox to have Koha send e-mails? I'd like to make sure this is a bug before entering it to Bugzilla.
>
> Arturo
>
> -----Original Message-----
> From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of 
> Christopher Davis
> Sent: Tuesday, December 19, 2017 12:00
> To: Katrin Fischer <katrin.fischer.83 at web.de>
> Cc: Koha <koha at lists.katipo.co.nz>
> Subject: Re: [Koha] Allowing patrons to set their passwords during 
> self-registration
>
> ​Arturo,
>
> I would also be interested in the status of this feature.​
>
> Thank you,
>
> Christopher Davis
> Systems & E-Services Librarian
> Uintah County Library
> cgdavis at uintah.utah.gov
> (435) 789-0091 <14357890091> ext.261
> uintahlibrary.org
> basinlibraries.org
> facebook.com/uintahcountylibrary
> instagram.com/uintahcountylibrary
>
>
> On Mon, Dec 18, 2017 at 3:12 PM, Katrin Fischer 
> <katrin.fischer.83 at web.de>
> wrote:
>
>> Hi Arturo,
>>
>> have you been able to solve this? It should work with the 
>> configuration you described. If it's still an issue, please consider 
>> filing a bug report on http://bugs.koha-community.org
>>
>> Katrin
>>
>>
>> On 29.11.2017 15:18, Arturo Longoria wrote:
>>
>>> What I do is I remove "password" from the 
>>> PatronSelfRegistrationBorrowerUnwantedField
>>> preference and add "password" to the PatronSelfRegistra
>>>
>> _______________________________________________
>> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz 
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
> _______________________________________________
> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz 
> https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz 
> https://lists.katipo.co.nz/mailman/listinfo/koha

--
--
Liz Rea
Catalyst.Net Limited
Level 6, Catalyst House, 150 Willis Street, Wellington.
P.O Box 11053, Manners Street, Wellington 6142
04 803 2265

GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7


_______________________________________________
Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list