mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-22 15:57:29 +00:00
Updated laravel to 5.2 and started ldap implementation
This commit is contained in:
parent
e27a630a09
commit
14ca31768c
20 changed files with 950 additions and 517 deletions
app/Http/Controllers
|
@ -48,7 +48,7 @@ abstract class Controller extends BaseController
|
|||
*/
|
||||
protected function preventAccessForDemoUsers()
|
||||
{
|
||||
if (env('APP_ENV', 'production') === 'demo') $this->showPermissionError();
|
||||
if (config('app.env') === 'demo') $this->showPermissionError();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue