mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-08 04:00:14 -05:00
(Fix) User Groups
- hotfix
This commit is contained in:
@@ -22,7 +22,7 @@ class ResetPasswordController extends Controller
|
||||
protected function resetPassword($user, $password)
|
||||
{
|
||||
$validatingGroup = Group::where('slug', '=', 'validating')->select('id')->first();
|
||||
$memberGroup = Group::where('slug', '=', 'member')->select('id')->first();
|
||||
$memberGroup = Group::where('slug', '=', 'user')->select('id')->first();
|
||||
$user->password = bcrypt($password);
|
||||
$user->remember_token = Str::random(60);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user