#✅ 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)
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.)
Hey @wet moon
This was actually recently introduced this year!
Ah amazing, if I only update that file in my project, will it have any issues?
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)
you shouldnt have to update anything. It was a completed feature. All you do is just "reinvite" the same user and a new token is generated.
but I have an older version of Directus (9.18.1)...
and don't want to update yet in case things break
I am not really sure what had changed from 9.18.1 to 9.25 (when this feature dropped) if anything "had" changed to support this.
but 9.18.1 to 9.25 shouldn't cause any migration issues that I'm aware of.
Other than that, if nothing had needed a change to support this, it should only be the edits here:
alright, got it. I'll start playing around.Thanks for the help!
✅ User invitation links expired. Can I re-send? Can I extend the number of days before it expires?