@adminforth/open-signup 2.0.5 → 2.0.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.
package/dist/index.js CHANGED
@@ -153,7 +153,8 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
153
153
  yield this.adminforth.auth.setAuthCookie({
154
154
  response,
155
155
  username,
156
- pk: userRecord[this.authResource.columns.find((col) => col.primaryKey).name]
156
+ pk: userRecord[this.authResource.columns.find((col) => col.primaryKey).name],
157
+ extra,
157
158
  });
158
159
  }
159
160
  return toReturn;
package/index.ts CHANGED
@@ -176,7 +176,8 @@ export default class OpenSignupPlugin extends AdminForthPlugin {
176
176
  username,
177
177
  pk: userRecord[
178
178
  this.authResource.columns.find((col) => col.primaryKey).name
179
- ]
179
+ ],
180
+ extra,
180
181
  });
181
182
  }
182
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/open-signup",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",