Inability to override __hide_all method in inherited AuthModel #557
-
|
In the AuthModel (which is inherited eventually by AuthUser) there is a method getting called that hides all fields except for email, password, first and last name.
I inhret this class to add more fields. I want to use MyAuthUser.form() in my templates. To make my fields appear I need to override the __hide_all method. I tried in 2 ways. Defining my own method:
And overriding the method pointer to the class:
Both fail. Couldn't find any config that this points to. Any idea how to get around it @gi0baro ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Using the |
Beta Was this translation helpful? Give feedback.



Using the
fields_rwproperty on any model should work with forms.