mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[PR #308] [MERGED] Fix email invitations for existing users and update README #2702
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/308
Author: @njfox
Created: 12/23/2018
Status: ✅ Merged
Merged: 12/23/2018
Merged by: @dani-garcia
Base:
master← Head:invite_existing_user_fix📝 Commits (3)
b0ac640Use JWT to validate existing user invitescb78ba9Document domain/email invitation requirementse3395eeMention that invite links are valid for 5 days only📊 Changes
2 files changed (+21 additions, -13 deletions)
View changed files
📝
README.md(+11 -0)📝
src/api/core/organizations.rs(+10 -13)📄 Description
This PR updates the invitation /accept logic to rely on JWT validation for inviting existing users to new organizations. Previously, the invitations SQLite table was used, which resulted in a bug when an existing user was invited to join an organization because no invitation was created.
I've also updated the README to document the new functionality surrounding email invitations and how it's necessary to set the
DOMAINconfiguration option so that links are generated correctly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.