Continuing the discussion from Alternative (non-ajax) way to login, so that browser password manager can save the login credentials:
Since Discourse's login form was being rendered only when you click the login button, browsers weren't asking to save your password. They only see forms that are rendered on page load.
I got this working in all browsers except IE (of course!). IE is so close to working, there must be a little trick I'm missing.
So, give it a try everyone!
Please report what you find in different browsers on different OS's. And if you know how to get this to work in IE I will love you forever possibly!
Something I learned is that Firefox does this so much more reliably than any other browser. Every implementation I tried worked in Firefox. "Does this work in Firefox? Yes, of course it does." Chrome and Safari are better, but each have their own quirks, with Safari being very fussy about what it recognizes as a login form and how it expects the form to be submitted.
It's interesting that Chrome and Safari both use the keychain on OS X, so saving the password in one will save it on both, and Chrome syncing will send it to all your computers.
Save password in Safari → Chrome gets it from keychain → Chrome syncs to your other computers -> Safari on all computers gets it from the keychain.
Sometimes Chrome doesn't ask to save your password, it just does it.