Skip to content

Commit 906a788

Browse files
committed
Fix API user registration role
1 parent a96ac49 commit 906a788

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wave/src/Http/Controllers/API/AuthController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ public function register(Request $request)
117117
'email' => $request->email,
118118
'username' => $request->username,
119119
'password' => bcrypt($request->password),
120-
'role_id' => $role->id,
121120
]);
122121

123122
$credentials = ['email' => $request['email'], 'password' => $request['password']];

0 commit comments

Comments
 (0)