You actually know that the function is "sha1" and not "sh1", and it's just a typo, right?
On Jan 12, 1:24 am, Darren884 <[email protected]> wrote: > Hello, I am having trouble with the following: > > I am trying to override my setPassword method for my employee model > but everytime I try to overwrite it I get nothing from it. I was > using: > > public function setPassword($password) > { > parent::setPassword(sh1($password)); > } > > Also is it possible to define that a column in the doctrine YAML > should be unique? And also is it possible to define a MySQL function > on a column? > > Thank You, > Darren
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
