Skip to content

Commit c18df43

Browse files
authored
Merge pull request #6 from webfactor/2.1
[EH] use new backpack_auth() helper
2 parents 8833c5c + 6a84dcf commit c18df43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/crud-request.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DummyClassRequest extends FormRequest
1515
public function authorize()
1616
{
1717
// only allow updates if the user is logged in
18-
return \Auth::check();
18+
return backpack_auth()->check();
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)