personal access token api update

This commit is contained in:
Čarodej
2022-05-04 08:36:32 +02:00
parent 3d2e279afd
commit 137021fcdc
28 changed files with 66 additions and 53 deletions

View File

@@ -328,11 +328,11 @@ if (! function_exists('is_demo')) {
}
}
if (! function_exists('is_demo_account')) {
if (! function_exists('isDemoAccount')) {
/**
* Check if is demo environment
*/
function is_demo_account(): bool
function isDemoAccount(): bool
{
return config('vuefilemanager.is_demo') && auth()->user()->email === 'howdy@hi5ve.digital';
}