modified: SRC/app/Http/Middleware/RedirectIfNotAdmin.php

This commit is contained in:
www 2015-02-17 22:19:10 +01:00
parent fe630d6683
commit 6469a4e793
2 changed files with 13 additions and 1 deletions

View File

@ -68,3 +68,15 @@ git pull
exit
git pull
exit
git pull
git status
git add .
git commit -m "admin view & navbar_signed"
git push
git pull
exit
git pull
exit
cd ..
ls
nano loadCSVAugustin2014.py

View File

@ -35,7 +35,7 @@ class RedirectIfNotAdmin {
*/
public function handle($request, Closure $next)
{
if (!$this->auth->check() OR Auth::user()->admin == 0)
if (!$this->auth->check() OR Auth::user()->droit == 0)
{
return new RedirectResponse(url('/login'));
}