@adminforth/email-invite 2.0.0 → 2.0.2
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/build.log +2 -2
- package/custom/SetPassword.vue +1 -1
- package/dist/custom/SetPassword.vue +1 -1
- package/dist/index.js +2 -0
- package/index.ts +2 -0
- package/package.json +2 -2
package/build.log
CHANGED
package/custom/SetPassword.vue
CHANGED
|
@@ -212,7 +212,7 @@ const validationError = computed(() => {
|
|
|
212
212
|
|
|
213
213
|
onMounted(async () => {
|
|
214
214
|
loading.value = true;
|
|
215
|
-
await coreStore.
|
|
215
|
+
await coreStore.fetchConfig({ redirectToLoginIfNotLoggedIn: false });
|
|
216
216
|
|
|
217
217
|
// Check if token is present and valid
|
|
218
218
|
const token = route.query.token;
|
|
@@ -212,7 +212,7 @@ const validationError = computed(() => {
|
|
|
212
212
|
|
|
213
213
|
onMounted(async () => {
|
|
214
214
|
loading.value = true;
|
|
215
|
-
await coreStore.
|
|
215
|
+
await coreStore.fetchConfig({ redirectToLoginIfNotLoggedIn: false });
|
|
216
216
|
|
|
217
217
|
// Check if token is present and valid
|
|
218
218
|
const token = route.query.token;
|
package/dist/index.js
CHANGED
|
@@ -212,6 +212,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
|
|
|
212
212
|
server.endpoint({
|
|
213
213
|
method: 'POST',
|
|
214
214
|
path: `/plugin/${this.pluginInstanceId}/set-password`,
|
|
215
|
+
agent: { hiddenFromAgents: true },
|
|
215
216
|
noAuth: true,
|
|
216
217
|
request_schema: setPasswordBodySchema,
|
|
217
218
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, response }) {
|
|
@@ -268,6 +269,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
|
|
|
268
269
|
server.endpoint({
|
|
269
270
|
method: 'POST',
|
|
270
271
|
path: `/plugin/${this.pluginInstanceId}/resend-invite`,
|
|
272
|
+
agent: { hiddenFromAgents: true },
|
|
271
273
|
request_schema: resendInviteBodySchema,
|
|
272
274
|
handler: (_a) => __awaiter(this, [_a], void 0, function* ({ body, adminUser, response }) {
|
|
273
275
|
const data = body;
|
package/index.ts
CHANGED
|
@@ -260,6 +260,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
|
|
|
260
260
|
server.endpoint({
|
|
261
261
|
method: 'POST',
|
|
262
262
|
path: `/plugin/${this.pluginInstanceId}/set-password`,
|
|
263
|
+
agent: { hiddenFromAgents: true },
|
|
263
264
|
noAuth: true,
|
|
264
265
|
request_schema: setPasswordBodySchema,
|
|
265
266
|
handler: async ({ body, response }) => {
|
|
@@ -333,6 +334,7 @@ export default class EmailInvitePlugin extends AdminForthPlugin {
|
|
|
333
334
|
server.endpoint({
|
|
334
335
|
method: 'POST',
|
|
335
336
|
path: `/plugin/${this.pluginInstanceId}/resend-invite`,
|
|
337
|
+
agent: { hiddenFromAgents: true },
|
|
336
338
|
request_schema: resendInviteBodySchema,
|
|
337
339
|
handler: async ({ body, adminUser, response }) => {
|
|
338
340
|
const data = body as z.infer<typeof resendInviteBodySchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/email-invite",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.10.7",
|
|
28
|
-
"adminforth": "^
|
|
28
|
+
"adminforth": "^4.7.3",
|
|
29
29
|
"semantic-release": "^24.2.1",
|
|
30
30
|
"semantic-release-slack-bot": "^4.0.2",
|
|
31
31
|
"typescript": "^5.7.3"
|