MHL3060 / bentux

Automatically exported from code.google.com/p/bentux
0 stars 0 forks source link

can't change the password #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if you change a password, it won't work.

Original issue reported on code.google.com by lhkh...@gmail.com on 1 Sep 2010 at 5:36

GoogleCodeExporter commented 9 years ago
i mean if you change the password, you no longer login to the system.

Original comment by lhkh...@gmail.com on 1 Sep 2010 at 5:48

GoogleCodeExporter commented 9 years ago
if you have check the "remember me" option when you login this will happen.

I will upgrade the library tonight.

Original comment by benli3...@gmail.com on 1 Sep 2010 at 5:54

GoogleCodeExporter commented 9 years ago
hows this one doing?

Original comment by lhkh...@gmail.com on 21 Sep 2010 at 9:21

GoogleCodeExporter commented 9 years ago
I really really have no idea how to fix this issue.

I think this issue was brought in by when we modify the user's class (adding 
second first name and second last name).

I search the spring security. not many helpful information there.

Original comment by benli3...@gmail.com on 22 Sep 2010 at 5:58

GoogleCodeExporter commented 9 years ago
there is one thing we can do, store the password in the cleartext in DB.

To do that, remove the passwordEncoder bean from the security.xml.

All users need to re enter the password again.

that is the price they have to pay if they want to mess around with the user 
form. 

Original comment by benli3...@gmail.com on 22 Sep 2010 at 6:28

GoogleCodeExporter commented 9 years ago
OK. found a solution.

I will apply it tonight.

we need to remove the onChange event from the pasword field.

this will fix the problem

Original comment by benli3...@gmail.com on 22 Sep 2010 at 8:47

GoogleCodeExporter commented 9 years ago
nothing to do with the user class modification before? 

Original comment by lhkh...@gmail.com on 23 Sep 2010 at 4:19