Bug in API user registration #184
produktive
started this conversation in
General
Replies: 1 comment 4 replies
-
The default value is set to Line 28 in ab1df9d Note that if you've made changes to the default rules, you should also reflect this in the config. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you attempt to register from API, you get error:
[Attempt to read property "id" on null]
$role = Role::where('name', config('wave.user_default_role'))->first();
But in the config file the setting is defined as 'default_user_role'
Once you match them, you get error: SQLSTATE[HY000]: General error: 1 table users has no column named role_id
Beta Was this translation helpful? Give feedback.
All reactions