You can set preffered connection on your model - in this case User model.
1. Add this connection attribute to the models/User.php
file
protected $connection = 'olddb';
2. Edit your config/database.php
file and add connection as specified above
'connections' => array(
//...
'olddb' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'database',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
//...
),
Since Laravel's Auth is tied to user model, Auth will use this connection instead of your default.