install firebase jwt and use token for authenticate
This commit is contained in:
1 parent
cb29022311
commit
89a7eed847
23 files changed
+2737
-15
No files matched your search
@@ -8,15 +8,13 @@ class DabestanihaAuthenticateRequest extends BaseFormRequest
|
||||
public function shouldContinue(): bool
|
||||
{
|
||||
$path = $this->getRoutePath();
|
||||
return trim($path, '/') === 'dabestaniha/login';
|
||||
return trim($path, '/') === get_configured_option('login-route');
|
||||
}
|
||||
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'token' => ['required'],
|
||||
'name' => ['nullable'],
|
||||
'email' => ['nullable'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user