Symfony 1.3 and forms: the password changes when i click on 'Save', why??
Posted
by user248959
on Stack Overflow
See other posts from Stack Overflow
or by user248959
Published on 2010-03-26T21:43:48Z
Indexed on
2010/03/28
9:53 UTC
Read the original article
Hit count: 313
symfony
Hi,
i have installed sfDoctrineGuardUser and have created this model that inherits sfGuardUser model:
Usuario:
inheritance:
extends: sfGuardUser
type: simple
columns:
nombre_apellidos: string(60)
sexo: boolean
fecha_nac: date
provincia: string(60)
localidad: string(255)
email_address: string(255)
avatar: string(255)
avatar_mensajes: string(255)
I have also created a module called 'miembros' based on that model.
Well, I log normally through sfGuardAuth/signin, then i go to "miembros/edit/id/$id_of_the_member_i_used_to_log_in" and push 'Save' button. Then i logout.
If i try to log in again, it says: "The username and/or password is invalid".
Later, i have realized that when click 'Save' the value of the field 'password' changes (well its encrypted version). So that is the reason why i can not then log in.
But, why the value of the password change when i click on 'Save' ???
Regards
Javi
© Stack Overflow or respective owner