From ebcdfaabfb8d7d9352070f5b4d8731443f0c79d2 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 15 Jan 2022 16:50:49 +0200 Subject: [PATCH 1/2] 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);