php - Accept username that is ecrypted by hash in the database -
php - Accept username that is ecrypted by hash in the database - when i'm creating user, username , password saves in hash. want username , password when log in, can read system. using laravel below code user controller public function postsignin() { if (auth::attempt(array('username'=>input::get('username'), 'password'=>input::get('password')))) { homecoming redirect::to('admin/dashboard')->with('message', 'you logged in!'); } else { homecoming redirect::to('users/login') ->with('message', 'your username/password combination incorrect') ->withinput(); } } case sensitivity not require hashing. utilize non _ci encoding in database table. ci stands case insensitive. assuming still want hash username, need hash user input (username), in same manner stored in database, before passin...