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() { 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() {