Merge pull request #231 from gillidandaweb/gillidandaweb-patch-3
Gillidandaweb patch 3
This commit is contained in:
@@ -25,6 +25,6 @@ class CheckRole
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
return redirect('guest')->with('fails', 'You are not Autherised');
|
||||
return redirect('guest')->with('fails', 'You are not authorised');
|
||||
}
|
||||
}
|
||||
|
@@ -25,6 +25,6 @@ class CheckRoleAgent
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
return redirect('dashboard')->with('fails', 'You are not Autherised');
|
||||
return redirect('dashboard')->with('fails', 'You are not authorised');
|
||||
}
|
||||
}
|
||||
|
@@ -25,6 +25,6 @@ class CheckRoleUser
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
return redirect('guest')->with('fails', 'You are not Autherised');
|
||||
return redirect('guest')->with('fails', 'You are not authorised');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user