Custom columns not returning on user() helper object #554
Unanswered
erikkraijenoord
asked this question in
Q&A
Replies: 1 comment
-
Hi. Yes, you should add that extra fields to your database before to use them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've installed MythAuth via Vendor and added some custom fields on the user, this has been added inside my
\App\Model\UserModel
on the$allowedFields
array. Calling the helper functionuser()
still doesn't return these custom columns, does it require more modifications or did I do something wrong here?Followed this documentation to understand the way MythAuth works.
EDIT::
I'm the dumbass who forgot to migrate the changes made on a different machine, so the fields never existed untill I've run the migration command...
Beta Was this translation helpful? Give feedback.
All reactions