diff --git a/changelog.md b/changelog.md index 8cd2954..742684e 100755 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,10 @@ # Changelog All notable changes to `GoogleAuthenticator` will be documented in this file. +## Version 4.1.2 +- Prevent loading the views,should only be used for publishing. This fixes an issue with caching. +## Version 4.1.1 +- Fixed lang publishing for laravel 9 ## Version 4.1.0 - Updated version illumninate/support to use Laravel 8 or 9 - Updated auth templates with new format from Laravel + google login button diff --git a/src/GoogleAuthenticateServiceProvider.php b/src/GoogleAuthenticateServiceProvider.php index 63f15c7..fc14fab 100755 --- a/src/GoogleAuthenticateServiceProvider.php +++ b/src/GoogleAuthenticateServiceProvider.php @@ -13,7 +13,7 @@ class GoogleAuthenticateServiceProvider extends ServiceProvider */ public function boot() { - $this->loadViewsFrom(__DIR__.'/../resources/views', 'google-authenticate'); + //$this->loadViewsFrom(__DIR__.'/../resources/views', 'google-authenticate'); $this->publishes([ __DIR__.'/../database/migrations/add_google_provider_to_user_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_add_google_provider_to_user_table.php'),