fix(auth): resolve login identities by active email and role
This commit is contained in:
@@ -105,7 +105,8 @@ class InvitationPurchaseProvisioner
|
||||
private function userId(DateTimeInterface $now): int
|
||||
{
|
||||
$user = DB::table('users')
|
||||
->where('email', self::USER_EMAIL)
|
||||
->where('active_email', self::USER_EMAIL)
|
||||
->where('rol_codigo', 'user')
|
||||
->whereNull('deleted_at')
|
||||
->first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user