Cpanel & WHM not saving passwords in Chrome

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

Since 1 month ago, I´m having problems using Chrome with Cpanel and WHM.
When i login, the browser never ask me if i want to save password. This only happens with Chrome (i can save password perfectly with FF and IE).

I´ve already have set in Tweaks Settings this in OFF:

Enable HTTP Authentication [?]
Enable HTTP Authentication for cPanel/WebMail/WHM Logins. This risks certain types of XSRF attacks that rely on cached HTTP Auth credentials. Disabling forces cookie authentication.


I`ve tried everything, clear cache, etc. but Chrome still not asking to save password. This ONLY happens with whm and cpanel (2086 and 2082) and NOT happens with other sites.

I´m Using :
WHM 11.32.2 (build 25)
CENTOS 5.8 x86_64

Chrome 19.0.1084.46

Any tip??

Regards
Fabian
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Well!!

I ask and i answer :)

I discover the problem. Maybe it happens to many of you and would be great if cpabel people can fix it.

The problem is not Chrome. The problem is the "new" login display of Cpanel/WHM.

I go to Tweak setttings --> Display and change "Default login theme" from : cpanel default (the new one, blue and nice design) to cpanel-legacy (The old login display screen).

Now, Chrome ask me to save the username and password perfectly !

and some good : if now go to tweak setting.. display.. etc. and change again to "cpanel default" the username and password is now stored and works perfectly :)

Surely is a simple JS issue on the new login display screen.

Regards
Fabian
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

Anyone in Cpanel could seee this bug of the new login display screen?

Could be great if you can see this and fix the bug , then.. all we uses Chrome can use the new interface to login.

Regards
Fabian
 

LDHosting

Well-Known Member
Jan 19, 2008
93
2
58
cPanel Access Level
Root Administrator
No worries, Infopro. Thanks for double checking. :)

Yeah, I think the tech mentioned 11.32.3 which, of course, hasn't been released yet (the case also didn't appear in the 11.32.3.15 changelog which is currently in Edge).

If only it didn't take cPanel an age to correct bugs that they have introduced. This bug will have been there for around 2 months by the time they fix it (assuming 11.32.3 goes into release in the next few weeks.) :(
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

Thank you for that. That case has been closed and fix is on the way for Chrome as I understand it. Not released yet, but on the way.
Sorry but the problem still not fixed :(

I´m using this :
WHM 11.32.2 (build 25)
CENTOS 5.8 i686

I´ve tried everything
I already turn in on this :

WHM > Server Configuration > Tweak Settings, Security tab, find this item at top and turn it on:
Allow autocomplete in login screens.

But still happens the same in Chrome :

if you use the "cpanel default" in ON under Tweak Setttings --> Display (new login theme) Chomre not ask to save password
but if you change it in WHM to "cpanel-legacy" , then Chrome ask to save the password.

ONce the password is saved, even changing to cpanel default the password is stored in the browser and works fine. BUT, LOT of hosters have "cpanel default" as default and then.. with Chrome we can´t save the passwords.

Is any patch to install or something to do to fix this ?

Regards
Fabian
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello again

I´m seeing I´m using the "RELEASE" version : 11.32.2.25

Maybe the fix for Chrome is in the "CURRENT" version ? : 11.32.3.17

If yes, when 11.32.3.17 will be RELEASE ?

Regards
Fabian
 

WhiteDog

Well-Known Member
Feb 19, 2008
142
6
68
Just tested with WHM 11.32.3 (build 19) + Chrome 19.0.1084.52

Password NOT being saved

I also toggled "Allow autocomplete in login screens." just to be sure.

Please fix guys :)
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

i just tested it now with WHM 11.32.3 (build 19) and still not save the password :(
I´m using Firefox since a month or so becasue this.. and i miss Chrome !!!

Plase fix it guys !

Fabian
 

planetjoin

Well-Known Member
Oct 14, 2003
71
4
158
cPanel Access Level
Root Administrator
Hello

i just tested it now with WHM 11.32.3 (build 19) and still not save the password :(
I´m using Firefox since a month or so becasue this.. and i miss Chrome !!!

Plase fix it guys !

Fabian
 

Duhg

Registered
Jun 5, 2012
2
0
51
cPanel Access Level
Root Administrator
I am currently locked out of my site, however it was an upgrade that I had to authorize. Besides that, I have been using LastPass for my passwords and Chrome when it asks to save. I have noticed that https:// sites are not being asked for password by Chrome.
 

WhiteDog

Well-Known Member
Feb 19, 2008
142
6
68
For the record: autocomplete is not working for me in ANY browser at the moment with cPanel 11.32.3.19.
Is this related to another setting (e.g. Allow HTTP Authentication) to be able to "work".

Also, as the login themes are editable, I assume we can troubleshoot / fix this ourselves ?
 

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Here's an update on this for you. This issue with Chrome is not new, nor cPanel specific, it's actually an ongoing issue that cPanel has been attempting to work around for some time now. More on the issue here:
Password not remembered when login form uses XHR or equivalent - code.google.com

Suggested workaround by cPanel Developers:

1) Disable JavaScript, login, then logout, then re-enable JavaScript. Subsequent logins will be auto-filled.
2) Install a Chrome addon that extends Chrome’s ability to save passwords.
3) Use a non-WebKit browser.

I have tried item #1 and it works as expected. On first hitting the login page with javascript disabled, you're greeted with a warning, ignore that and type in your login details and login. Once you get in, Chrome then asks if you'd like to save your password, choose yes. Now logout. Enable Javscript again, try WHM login page. You'll see your username and password already filled in.

Hope that helps.
 

JohnD60

Registered
Jul 23, 2008
3
0
51
Cobourg, Canada
I have the same problem in Firefox, CPanel/WHM 11.32.2. It's 100% fixed if I use fix mentioned - that is, use tweak settings to go to legacy login-form. Thanks for the tip - a great time saver.
 

Diniel

Member
Jan 31, 2005
8
0
151
I go to Tweak setttings --> Display and change "Default login theme" from : cpanel default (the new one, blue and nice design) to cpanel-legacy (The old login display screen).

Now, Chrome ask me to save the username and password perfectly !

and some good : if now go to tweak setting.. display.. etc. and change again to "cpanel default" the username and password is now stored and works perfectly :)
Thanks, Fabian!

I use Chrome and have toggled off/on the autosave option too, with no luck. Changing the theme to the legacy theme and logging in again does indeed allow Chrome to ask if I'd like to save the password, and then switching the theme back to cPanel does indeed work - current theme and saved password.