Basic user management

This commit is contained in:
th.guenther committed 2026-02-05 00:46:22 +01:00
1 parent e280fcfba8
commit 11108bdfcc
55 files changed
+1524 -54

No files matched your search

+7
View File
@@ -3,8 +3,15 @@
namespace App\Scopes;
use App\Providers\AuthCheckProvider;
use App\Repositories\UserRepository;
abstract class CommonController {
protected UserRepository $users;
public function __construct() {
$this->users = new UserRepository();
}
protected function checkAuth() {
$authCheckProvider = new AuthCheckProvider;
return $authCheckProvider->checkLoggedIn();