create-prisma-php-app 1.26.5 → 1.26.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -181,7 +181,7 @@ class Auth
181
181
 
182
182
  $token = JWT::decode($jwt, new Key($this->secretKey, 'HS256'));
183
183
 
184
- if (empty($token->role)) {
184
+ if (empty($token->{Auth::PAYLOAD_NAME})) {
185
185
  return null;
186
186
  }
187
187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.26.5",
3
+ "version": "1.26.6",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",