Model Users not return Password

Hi! I created a model Users extending \Phalcon\Mvc\Model.

User with uID = 3 has a password hash 0015dd9a4b6a1b0e76699290c2caa03c.

Method $user = Users::findFirst(3); returns this user, but, password = d41d8cd98f00b204e9800998ecf8427e

d41d8cd98f00b204e9800998ecf8427e == md5('NULL')

Problem is only with the 'password' field

WTF?



2.4k
edited Jul '14

UPD: change field name from 'password' to 'passwordHash' - it's working! WTF?