From 023be7d32fe18fe46fe7875a94ec029cc94c7cb9 Mon Sep 17 00:00:00 2001 From: Mirko Pagliai Date: Mon, 7 Apr 2025 22:03:53 +0200 Subject: [PATCH 1/2] Fixed typo for login controller element --- templates/bake/element/Controller/login.twig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/bake/element/Controller/login.twig b/templates/bake/element/Controller/login.twig index 45f467f1..409f0243 100644 --- a/templates/bake/element/Controller/login.twig +++ b/templates/bake/element/Controller/login.twig @@ -16,8 +16,7 @@ /** * Login method * - * @return \Cake\Http\Response|null|void Redirects on successful edit, renders view otherwise. - * @throws \Cake\Datasource\Exception\RecordNotFoundException When record not found. + * @return \Cake\Http\Response|null|void Redirects on successful login, renders view otherwise. */ public function login() { From f8b18736d72024cb58c6aa1ce8850c342a265f32 Mon Sep 17 00:00:00 2001 From: Mirko Pagliai Date: Mon, 7 Apr 2025 22:10:30 +0200 Subject: [PATCH 2/2] updated test --- .../Controller/testBakeActionsAuthenticationPlugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/comparisons/Controller/testBakeActionsAuthenticationPlugin.php b/tests/comparisons/Controller/testBakeActionsAuthenticationPlugin.php index c497ae8e..d163ca7d 100644 --- a/tests/comparisons/Controller/testBakeActionsAuthenticationPlugin.php +++ b/tests/comparisons/Controller/testBakeActionsAuthenticationPlugin.php @@ -112,8 +112,7 @@ public function delete($id = null) /** * Login method * - * @return \Cake\Http\Response|null|void Redirects on successful edit, renders view otherwise. - * @throws \Cake\Datasource\Exception\RecordNotFoundException When record not found. + * @return \Cake\Http\Response|null|void Redirects on successful login, renders view otherwise. */ public function login() {