CSS/JS updates, initial page rendering
This commit is contained in:
@@ -4,9 +4,15 @@ namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use Leenooks\LDAP;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
public function home() {
|
||||
return view('home');
|
||||
}
|
||||
public function home() {
|
||||
$o = new LDAP\Server;
|
||||
|
||||
return view('home')
|
||||
->with('server',config('ldap.connections.default.name')) // @todo This connection name should be a config item
|
||||
->with('bases',$o->getBaseDN());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user