Skip to content

fix(invite): Add logging and fix decryption key in InviteService#1507

Open
nfebe wants to merge 1 commit intomainfrom
fix/invite-email-silent-failure
Open

fix(invite): Add logging and fix decryption key in InviteService#1507
nfebe wants to merge 1 commit intomainfrom
fix/invite-email-silent-failure

Conversation

@nfebe
Copy link
Copy Markdown
Contributor

@nfebe nfebe commented Mar 12, 2026

sendInvite() will silently return false with no logging when the lostpassword token is missing. Added warning/error logs and fixed decryption key to use getEMailAddress() matching GuestManager encryption.

Aslo removed dead code in Hooks.php.

sendInvite() will silently return false with no logging when the
lostpassword token is missing. Added warning/error logs and
fixed decryption key to use getEMailAddress() matching
GuestManager encryption.

Aslo removed dead code in Hooks.php.

Signed-off-by: nfebe <fenn25.fn@gmail.com>


$user = $this->userSession->getUser();
$this->userManager->get($shareWith);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this was supposed to catch some issues? Better to keep it and check if it's null to throw an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants