bug fix
This commit is contained in:
parent
60d1029134
commit
216c41e7cd
|
@ -24,7 +24,7 @@ class PdAuthServiceProvider extends ServiceProvider
|
||||||
|
|
||||||
$this->app['auth']->viaRequest('auth', function (Request $request) {
|
$this->app['auth']->viaRequest('auth', function (Request $request) {
|
||||||
|
|
||||||
$token = $request->cookie(Authenticate::CookieName);
|
$token = $request->header('Authorization', $request->cookie(Authenticate::CookieName));
|
||||||
|
|
||||||
if ($token) {
|
if ($token) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user