Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0000659SOGoWeb Generalpublic2015-04-09 18:56
Reporterfrancis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000659: Browsers no longer ask to remember username/password on login page
Description

Since the login is performed through an AJAX call, there's no more form submission and the browser never ask to remember the credentials.

TagsNo tags attached.

Relationships

has duplicate 0001537 resolvedludovic Save password in browser 

Activities

pvdv

pvdv

2011-12-20 22:07

reporter   ~0003187

There is another bug about this here:
http://www.sogo.nu/bugs/view.php?id=1537

Fuchur

Fuchur

2012-11-19 20:45

reporter   ~0004927

Would it be possible to make it optional in the config?
Then a admin can decide how safe his environment is.

When you use Thunderbird on your local system the password is also remembered in the "application"

And when you want to make SOGo a WEBAPP to simulate the Thunderbird behavior it should be a "feature".

pvdv

pvdv

2013-10-17 16:36

reporter   ~0006113

In my opinion it's really bad that nothing seems to be done with this bug.

Call me one serious webmail application what does not have a "save password" function. For some time it was in the roadmap, but it's removed there. And it's after years still a "new" bug. For me it's a reason to look for alternatives for Sogo, really.

Many people these days are using webmail as the only source for e-mail. It's very irritating to have to type every day a mail-password..

francis

francis

2013-10-17 20:08

administrator   ~0006116

There's no easy solution for this issue. The problem is that we submit the login form through Ajax. Each browser detects a login form differently and we need to hack something to let them understand the user is submitting credentials.

minipark

minipark

2013-10-17 20:30

reporter   ~0006118

We found an easy solution that fixed the problem for us. Basically it is changing the "Log in" button element from <a> to <input> before logging in. At least Chrome and Firefox are then offering to save the password. It is enough to do it once. The browser will fill in the password on subsequent visits.

I created a bookmarklet that makes changing the element easy. You can find it here: http://nhfiles.com/sogo/

pvdv

pvdv

2013-10-23 15:12

reporter   ~0006169

I've tried the solution of Minipark and it did not work for me on both Icewasel 17.0.9 (=Firefox) and Chromium 29.0.1547.57 (=Chrome), not sure why...

I am also a bit concerned about this solution because it makes a call to an external website. (I understand I could do the same on a server what I controll).

Francis wrote there is no easy soluiton because Ajax is used for the login. Maybe it's an option not to use Ajax, or to have a second login page what does not use Ajax. Is there a good reason to need Ajax??

minipark

minipark

2013-10-23 15:40

reporter   ~0006170

Last edited: 2013-10-23 15:40

Changing a#submit to input#submit in the template of the login page should be all that's needed to enable password saving. This has nothing to do with Ajax.

alessio

alessio

2014-03-19 10:43

reporter   ~0006733

This is an annoying behaviour. Can you fix this?

iridos

iridos

2015-04-09 18:56

reporter   ~0008412

Last edited: 2015-04-09 18:58

Oh nice... how surprising to have the password filled using the fix.
I tried the fix from minipark... but yes, I agree, unrelated websites shouldn't load scripts onto a page into which I type a password.
(Also: His fix fails for https:// pages because the url given is http:// and at least chromium refuses to load an unencrypted page into an encrypted one like this).

You can also use this slightly longer bookmarklet (hoping code will be preserved):

javascript:(function(){document.body.innerHTML = document.body.innerHTML.replace(/<a id="submit"/ , '<input type="submit" id="submit" name="submit" value="login"');})();

[Note: the login to sogo fails for me after using the bookmarklet, but the browser asks for the password and auto-fills the form for the following regular visits to sogo]

Issue History

Date Modified Username Field Change
2010-06-17 15:21 francis New Issue
2011-12-20 22:07 pvdv Note Added: 0003187
2012-02-08 20:03 ludovic Relationship added has duplicate 0001537
2012-11-19 20:45 Fuchur Note Added: 0004927
2013-10-17 16:36 pvdv Note Added: 0006113
2013-10-17 20:08 francis Note Added: 0006116
2013-10-17 20:30 minipark Note Added: 0006118
2013-10-23 15:12 pvdv Note Added: 0006169
2013-10-23 15:40 minipark Note Added: 0006170
2013-10-23 15:40 minipark Note Edited: 0006170
2014-03-19 10:43 alessio Note Added: 0006733
2015-04-09 18:56 iridos Note Added: 0008412
2015-04-09 18:58 iridos Note Edited: 0008412