|
|
@@ -11,7 +11,8 @@ use Illuminate\Support\Facades\Gate;
|
|
|
use App\Traits\ModelTimeFormat;
|
|
|
use Tymon\JWTAuth\Contracts\JWTSubject;
|
|
|
|
|
|
-class User extends Authenticatable implements JWTSubject
|
|
|
+//class User extends Authenticatable implements JWTSubject
|
|
|
+class User extends Authenticatable
|
|
|
{
|
|
|
use ModelLogChanging;
|
|
|
use ModelTimeFormat;
|
|
|
@@ -133,14 +134,14 @@ class User extends Authenticatable implements JWTSubject
|
|
|
return $workgroupIds;
|
|
|
}
|
|
|
|
|
|
- //jwt
|
|
|
- public function getJWTIdentifier()
|
|
|
- {
|
|
|
- return $this->getKey();
|
|
|
- }
|
|
|
-
|
|
|
- public function getJWTCustomClaims()
|
|
|
- {
|
|
|
- return [];
|
|
|
- }
|
|
|
+// //jwt
|
|
|
+// public function getJWTIdentifier()
|
|
|
+// {
|
|
|
+// return $this->getKey();
|
|
|
+// }
|
|
|
+//
|
|
|
+// public function getJWTCustomClaims()
|
|
|
+// {
|
|
|
+// return [];
|
|
|
+// }
|
|
|
}
|