Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
schpill committed Jun 30, 2017
1 parent d2ca156 commit 32808d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static function policy($policy, callable $callable)
$policies = Registry::get('guard.policies.' . $class->actual, []);
$policies[$policy] = $callable;

Registry::set('guard.policies', $policies);
Registry::set('guard.policies.' . $class->actual, $policies);

return $class;
}
Expand Down

0 comments on commit 32808d7

Please sign in to comment.