Commit Graph

21 Commits

Author SHA1 Message Date
andriusign
c00e89a8c0 Allow to pass custom URL for user invitation (#3972)
* Allow to pass custom URL for invitation to enable verification of user's email on custom Frond-End page (other than Directus Admin page).

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/users.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-02-08 16:39:11 -05:00
rijkvanzanten
bbae89d633 Minor code cleanup 2020-12-16 16:57:26 -05:00
rijkvanzanten
651263cbde Merge branch 'main' into Kinzi/main 2020-12-16 16:54:54 -05:00
rijkvanzanten
578b761ded Add auto-purge option
And add cache-control header when auto purge is disabled

Fixes #3425
2020-12-16 14:26:38 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
Sebastian Kinzlinger
ececd1e633 Update users.ts
Use custom acceptUrl if present. Fallback to directus default url.
2020-11-17 11:05:48 +02:00
rijkvanzanten
8cbdfb409b Use prefetched schema info 2020-11-09 17:13:48 -05:00
rijkvanzanten
57b7b3db06 Update user invite UX, add accept invite route
Fixes #886, closes #891
2020-11-05 18:54:52 -05:00
rijkvanzanten
1c7b0d9425 Update system key constraints
Fixes #790, fixes #885
2020-11-05 11:59:01 -05:00
Ben Haynes
ee4f3df78a fixes #866 2020-11-03 12:24:33 -05:00
rijkvanzanten
592ab925db Add toArray util 2020-10-15 18:00:27 -04:00
rijkvanzanten
cbd08a82b0 Add last admin user check 2020-10-13 16:36:31 -04:00
rijkvanzanten
48fca55651 Restructure exports for services 2020-09-22 13:16:14 -04:00
rijkvanzanten
a8552abc23 Treat sanitizedquery as frozen 2020-09-08 18:54:18 -04:00
kukulaka
2c63941a72 Merge branch 'main' into feature-redis-cache 2020-09-02 23:09:17 +01:00
rijkvanzanten
e4f8b16717 Add password reset flow 2020-09-01 15:58:12 -04:00
rijkvanzanten
2958ae1584 Return secret on enabling 2fa 2020-08-25 13:59:43 -04:00
rijkvanzanten
a9cc4755ef Add enable/disable service methods 2020-08-15 20:34:41 -06:00
rijkvanzanten
d9ae271612 Add otp enable endpoint 2020-08-15 18:11:11 -06:00
rijkvanzanten
2252d5a35f Use centralized env export with validator function 2020-08-04 13:10:49 -04:00
rijkvanzanten
bde7069cce Move api into api subdirectory 2020-07-29 11:22:56 -04:00