mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: isMember
This commit is contained in:
1 parent
8fe658bacc
commit
db8ffe50ac
3 files changed
+3
-3
No files matched your search
@@ -15,7 +15,7 @@ class Index extends Component
|
||||
if (!isCloud()) {
|
||||
return redirect(RouteServiceProvider::HOME);
|
||||
}
|
||||
if (auth()->user()->isMember()) {
|
||||
if (auth()->user()?->isMember()) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
if (data_get(currentTeam(), 'subscription') && isSubscriptionActive()) {
|
||||
|
||||
Reference in new issue
Block a user