allowed login models and update of login controller

This commit is contained in:
2019-01-09 01:42:32 -06:00
parent 5ce6f4460b
commit a4846e328a

View File

@@ -59,7 +59,7 @@ class RequirePermission
foreach($check as $check) {
if(!isset($check->permission)) {
abort(403, "You don't have permission to access this area!");
abort(403, "You don't have the correct role to view this area.");
}
if($ranking[$check->permission] >= $ranking[$role]) {