[Koha-bugs] [Bug 8753] Add forgot password link to OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 28 19:53:08 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8753

--- Comment #30 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 24846
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24846
Bug 8753 - Add forgot password link to OPAC

Review of attachment 24846:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=8753&attachment=24846)
-----------------------------------------------------------------

::: C4/Auth.pm
@@ +1068,4 @@
>          PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
>          persona            => C4::Context->preference("Persona"),
>          opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'},
> +        OpacResetPassword => C4::Context->preference("OpacResetPassword"),

You added OpacResetPassword, and all the templates use the Koha system
preference grabbing plugin. There's no need for this.

@@ +1068,5 @@
>          PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"),
>          persona            => C4::Context->preference("Persona"),
>          opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'},
> +        OpacResetPassword => C4::Context->preference("OpacResetPassword"),
> +        OpacPasswordChange => C4::Context->preference("OpacPasswordChange"),

This wasn't here, so I don't see a reason to add it, since all the template
changes you made use the Koha system preference grabbing plugin.

::: opac/opac-main.pl
@@ +58,4 @@
>      koha_news_count     => $koha_news_count,
>      display_daily_quote => C4::Context->preference('QuoteOfTheDay'),
>      daily_quote         => $quote,
> +    OpacResetPassword   => C4::Context->preference('OpacResetPassword'),

There's no point to have this.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list