better-auth-studio 1.0.79-beta.11 → 1.0.79-beta.13

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.
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" type="image/png" href="/logo.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Better Auth Studio</title>
8
- <script type="module" crossorigin src="/assets/main-3NIBCudD.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/main-DbXDm13A.css">
8
+ <script type="module" crossorigin src="/assets/main-_2wvl-u1.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/main-C0mBl_hH.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/dist/routes.js CHANGED
@@ -525,6 +525,7 @@ export function createRoutes(authConfig, configPath, geoDbPath, preloadedAdapter
525
525
  const userRole = users[0].role;
526
526
  const user = { id: userId, email: users[0].email, name: users[0].name, role: userRole };
527
527
  const allowedRoles = getAllowedRoles();
528
+ console.log({ user, allowedRoles, credentialAccount });
528
529
  if (!allowedRoles.includes(user.role)) {
529
530
  return res.status(403).json({
530
531
  success: false,