diff --git a/README.md b/README.md index fdb1e78..11025af 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ if(!$this->Auth->user()) $user = $this->Auth->identify(); if ($user) { $this->Auth->setUser($user); + return $this->redirect($this->Auth->redirectUrl()); } } ```