Skip to content

Commit 6a84dcf

Browse files
committed
[EH] use new backpack_auth() helper
1 parent d1f0590 commit 6a84dcf

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)