fix(auth): resolve login identities by active email and role
This commit is contained in:
@@ -46,6 +46,7 @@ class ScannerLoginControllerTest extends TestCase
|
||||
$response = $this->postJson('/api/v1/scanner/login', [
|
||||
'email' => ' SCANNER@EXAMPLE.COM ',
|
||||
'password' => 'secret123',
|
||||
'rol_codigo' => RoleCode::AdminApp->value,
|
||||
]);
|
||||
|
||||
$response
|
||||
|
||||
Reference in New Issue
Block a user