We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a89ce commit 7dd938dCopy full SHA for 7dd938d
src/Venturecraft/Revisionable/RevisionableTrait.php
@@ -326,6 +326,8 @@ public function getSystemUserId()
326
|| class_exists($class = '\Cartalyst\Sentinel\Laravel\Facades\Sentinel')
327
) {
328
return ($class::check()) ? $class::getUser()->id : null;
329
+ } elseif (function_exists('backpack_auth') && backpack_auth()->check()) {
330
+ return backpack_user()->id;
331
} elseif (\Auth::check()) {
332
return \Auth::user()->getAuthIdentifier();
333
}
0 commit comments