From bd468e4e6a6703ca225055f86e25e6531969a7d2 Mon Sep 17 00:00:00 2001 From: Martijn Hanegraaf <36103454+TheMardy@users.noreply.github.com> Date: Fri, 14 Jan 2022 09:30:01 +0100 Subject: [PATCH 01/10] Add important detail Update Team Membership automatically creates a session --- docs/references/teams/update-team-membership-status.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/references/teams/update-team-membership-status.md b/docs/references/teams/update-team-membership-status.md index ab8f4ca36a..2788448e51 100644 --- a/docs/references/teams/update-team-membership-status.md +++ b/docs/references/teams/update-team-membership-status.md @@ -1 +1,3 @@ -Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user. \ No newline at end of file +Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user. + +If the request is successful, a session for the user is automatically created. From ebcdfaabfb8d7d9352070f5b4d8731443f0c79d2 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 15 Jan 2022 16:50:49 +0200 Subject: [PATCH 02/10] Deny last user from leaving a project, redirect to home if current user leaves --- app/views/console/settings/index.phtml | 30 ++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/app/views/console/settings/index.phtml b/app/views/console/settings/index.phtml index 8ea42f2f6a..7aec7036a6 100644 --- a/app/views/console/settings/index.phtml +++ b/app/views/console/settings/index.phtml @@ -453,7 +453,7 @@ $smtpEnabled = $this->getParam('smtpEnabled', false);