Skip to content

A free open source IT asset/license management system

Removed extraneous comments

snipea9f060e7682a
diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php
index 49a8890afb..da14962faf 100644
--- a/app/Http/Controllers/Auth/AuthController.php
+++ b/app/Http/Controllers/Auth/AuthController.php
@@ -210,7 +210,7 @@ class AuthController extends Controller
if ($this->ldap(Input::get('username'), Input::get('password'))) {
LOG::debug("Valid LDAP login. Updating the local data.");
- $user = User::find($user->id); //need the Sentry object, not the Eloquent object, to access critical password hashing functions
+ $user = User::find($user->id);
$user->password = bcrypt(Input::get('password'));
$user->ldap_import = 1;
$user->save();