#✅ User invitation links expired. Can I re-send? Can I extend the number of days before it expires?

11 messages · Page 1 of 1 (latest)

wet moon
#

Basically that... I can't find much more information on how to change the number of days before it expires, and whether it's possible to re-send an invitation link without having to delete the user before.

Thanks community!

elder jayBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

rich sky
wet moon
#

Ah amazing, if I only update that file in my project, will it have any issues?

wet moon
#

mmm, when I edit the users.js file, I get

import { FailedValidationException } from '@directus/shared/exceptions';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/adminDashboard/node_modules/directus/dist/services/roles.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1105:14)

rich sky
wet moon
#

but I have an older version of Directus (9.18.1)...

#

and don't want to update yet in case things break

rich sky
wet moon
#

alright, got it. I'll start playing around.Thanks for the help!

elder jayBOT
#

✅ User invitation links expired. Can I re-send? Can I extend the number of days before it expires?