v0.9.10
This commit is contained in:
commit
d59ee3834d
297 files changed
+20527
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Support\Login;
|
||||
|
||||
use Illuminate\Contracts\Auth\Authenticatable;
|
||||
use Illuminate\Http\Request;
|
||||
use IriksIT\Manager\Contracts\LoginCheck;
|
||||
|
||||
/** Extend this and override what the check needs. */
|
||||
abstract class BaseLoginCheck implements LoginCheck
|
||||
{
|
||||
public function fields(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function before(Request $request): void {}
|
||||
|
||||
public function after(Request $request, Authenticatable $user): void {}
|
||||
}
|
||||
Reference in new issue
Block a user