Link "Forgot my password" disappeared after upgrade to 8.8.9

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Wobak
Posts: 4
Joined: Thu Sep 27, 2018 7:36 pm

Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by Wobak »

Hi everyone !

I have a small issue that I'm sure will be very easy to fix, but I can't find out what changed or what is causing it.

I installed 8.8.9 version from scratch, which includes the "Forgot my password" link in the login page.

I have setup for some users a recovery address, and the feature was working perfectly fine.

Then I updated to a patch version as I like to keep my software up to date, and since that update... the link disappeared.

The feature is still enabled :

Code: Select all

[zimbra@mail ~]$ zmprov gc default zimbraFeatureResetPasswordStatus
# name default
zimbraFeatureResetPasswordStatus: enabled
But when I get on my login page :
Image

The link is not there anymore.

Did I miss something in the setup that needs to be enabled ?

Thanks !!
Wobak
Posts: 4
Joined: Thu Sep 27, 2018 7:36 pm

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by Wobak »

Is there a place to open bugz for the zimbra project directly ?

Could it be that I'm in the wrong place to seek for help for this type of bug ?
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by phoenix »

If you're a Network Edition customer you can contact Zimbra Support to open a bug, if you're not an NE customer then Bugzilla would be the place to open a bug report. Unfortunately, these days Synacor do not bother fixing bugs that are reported in bugzilla - isn't this a great way to help Zimbra improve the product for it's users? I'm being sarcastic in case it's not too obvious.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Wobak
Posts: 4
Joined: Thu Sep 27, 2018 7:36 pm

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by Wobak »

Thanks for the advice.

Opened Bug 109049

Let's hope there's a follow up there.
Wobak
Posts: 4
Joined: Thu Sep 27, 2018 7:36 pm

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by Wobak »

So the bug just got updated with the following info : the bugzilla is not looked at anymore. :(
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 126
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.15 P19
Contact:

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by DavidMerrill »

Quick follow-up on this, see comments #5-7 here:

- https://bugzilla.zimbra.com/show_bug.cgi?id=109049

In short, zimbraFeatureResetPasswordStatus can be enabled by Domain, COS or Account & likely only the first makes the link on the login screen actually appear.
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 126
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.15 P19
Contact:

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by DavidMerrill »

Finally coming back around to this.

I've tried the steps mentioned in this thread:

- setting zimbraFeatureResetPasswordStatus enabled for the COS
- setting zimbraFeatureResetPasswordStatus enabled for the domain

on a 8.8.11.GA.3737.UBUNTU16.64 UBUNTU16_64 NETWORK edition, Patch 8.8.11_P3 system.

I cannot get the "Forgot Password" link to show up on the login-page.

Anyone else had better luck?
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 126
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.15 P19
Contact:

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by DavidMerrill »

Dove into the source JSP for the login page (/opt/zimbra/jetty_base/webapps/zimbra/public/login.jsp) & found this snippet:

Code: Select all

<c:if test="${domainInfo.attrs.zimbraFeatureResetPasswordStatus eq 'enabled'}">
  <tr>
   <td> </td>
   <td class="submitTD"><a href="#" onclick="forgotPassword();" id="ZLoginForgotPassword" aria-controls="ZLoginForgotPassword" aria-expanded="false"><fmt:message key="forgotPassword"/></a></td>
  </tr>
</c:if>
where forgotPassword() function is defined as:

Code: Select all

function forgotPassword() {
        var accountInput = document.getElementById("username").value;
        var queryParams = encodeURI("account=" + accountInput);
        var url = "/public/PasswordRecovery.jsp?" + location.search;

        if (accountInput !== '') {
                url += (location.search !== '' ? '&' : '') + encodeURI("account=" + accountInput);
        }

        window.location.href = url;
}
Soooo...it seems that if I clear this:

Code: Select all

<c:if test="${domainInfo.attrs.zimbraFeatureResetPasswordStatus eq 'enabled'}">
and I THINK I took care of it:

Code: Select all

zimbra@securemail:~$ zmprov gd abc.net | grep -i reset
zimbra@securemail:~$ zmprov md abc.net zimbraFeatureResetPasswordStatus enabled
zimbra@securemail:~$ zmprov gd abc.net | grep -i reset
zimbraFeatureResetPasswordStatus: enabled
and restart all Zimbra services to be sure, I should be good to go.

Yet the "Forgot Password" link STILL does not show up on the login-page.
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2802
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by L. Mark Stone »

Two things here...

First, 8.8.9 General Support expired on 18 December 2018, so even if this is a bug, and even you are running Network Edition, it's not going to get fixed.

Having said that, it wouldn't hurt on the Zimbra server to flush all of the caches (zmprov fc -a all), and then clear your browser's cache and force reload the page.

I can also say that it works on a number of 8.8.10 and 8.8.11 systems I support that are at, or one revision below, the current patch levels.

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
User avatar
DavidMerrill
Advanced member
Advanced member
Posts: 126
Joined: Thu Jul 30, 2015 2:44 pm
Location: Portland, ME
ZCS/ZD Version: 8.8.15 P19
Contact:

Re: Link "Forgot my password" disappeared after upgrade to 8.8.9

Post by DavidMerrill »

Good point thanks Mark!

Might've been best to start a new thread (as I'm running the latest 8.8.11 P3), anyway. This system has been upgraded from 8.8.9 (so maybe that's related).
___________________________________
David Merrill - Zimbra Practice Lead
OTELCO Zimbra Hosting, Licensing and Professional Services
Zeta Alliance
Post Reply