asciisd / zoho

Zoho package for Laravel
36 stars 36 forks source link

Fix No Tokens exist for the given user-identifier #3

Closed izorwebid closed 4 years ago

izorwebid commented 4 years ago

change currentUserEmail at ZohoServiceProvider to config('zoho.current_user_email') to fix error "No Tokens exist for the given user-identifier"

change application_log_file_path and token_persistence_path in zoho config,
before

'application_log_file_path' => storage_path('zoho/oauth/logs'),
'token_persistence_path' => storage_path('zoho/oauth/tokens'),

after

'application_log_file_path' => storage_path('app/zoho/oauth/logs'),
'token_persistence_path' => storage_path('app/zoho/oauth/tokens'),

because when you run php artisan zoho:install default storage::disk('local') is 'root' => storage_path('app'),