From 4988c914363d34a3a8ef45939b774d21dae01068 Mon Sep 17 00:00:00 2001 From: Karsten Heiken Date: Sun, 21 Aug 2011 13:39:35 +0200 Subject: [PATCH] No notice for an obvious state after logging in After a user logged in, we do not need to send a notice. It is pretty obvious, that the credentials were correct. --- application/libraries/Access.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/libraries/Access.php b/application/libraries/Access.php index 8068696..dd496a2 100644 --- a/application/libraries/Access.php +++ b/application/libraries/Access.php @@ -158,7 +158,6 @@ class Access { */ public function login($username, $password, $remember = false) { if ($this->ci->user->login($username, $password, $remember)) { - $this->ci->messages->add(_('Logged in successfully'), 'success'); return true; } else { $this->ci->messages->add(_('Incorrect username or password'), 'error');