Creating your own Model User

If you are trying to create your own Model User and you receive the message bellow:

ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()ErrorException [ Fatal Error ]: Call to undefined method Model_User::unique_key()

then you are probably extending ORM. When you are extending Model User make sure that it extends Model_Auth_User and not Model_ORM.

%d bloggers like this: