Update admin authentication and version numbers
This commit is contained in:
parent
3dd5546369
commit
ed12f73483
@ -11,7 +11,7 @@ class Index extends Component
|
||||
public $users = [];
|
||||
public function mount()
|
||||
{
|
||||
if (auth()->user()->id !== 0 && session('adminToken') === null) {
|
||||
if (instanceAdmin() && session('adminToken') === null) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
$this->users = User::whereHas('teams', function ($query) {
|
||||
|
@ -7,7 +7,7 @@ return [
|
||||
|
||||
// The release version of your application
|
||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
||||
'release' => '4.0.0-beta.212',
|
||||
'release' => '4.0.0-beta.213',
|
||||
// When left empty or `null` the Laravel environment will be used
|
||||
'environment' => config('app.env'),
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
<?php
|
||||
|
||||
return '4.0.0-beta.212';
|
||||
return '4.0.0-beta.213';
|
||||
|
Loading…
x
Reference in New Issue
Block a user