@adminforth/email-invite 2.0.1 → 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 +1 -1
- package/dist/index.js +2 -0
- package/index.ts +2 -0
- package/package.json +1 -1
package/build.log
CHANGED
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>;
|