From bd135d941cbd204aab964d8d9ac6d5c21dc5f50a Mon Sep 17 00:00:00 2001 From: Ichi Date: Wed, 29 Jan 2025 08:49:57 +0500 Subject: [PATCH 1/2] add key to lang --- lang/en/socialite.php | 1 + lang/ru/socialite.php | 1 + 2 files changed, 2 insertions(+) diff --git a/lang/en/socialite.php b/lang/en/socialite.php index fa8555c..733c883 100644 --- a/lang/en/socialite.php +++ b/lang/en/socialite.php @@ -3,5 +3,6 @@ return [ 'link_exists' => 'Account already exists', 'link_success' => 'Account linked', + 'link_socialite' => 'Link account', 'linked_socialite' => 'Account linked', ]; diff --git a/lang/ru/socialite.php b/lang/ru/socialite.php index 061e419..4b487e8 100644 --- a/lang/ru/socialite.php +++ b/lang/ru/socialite.php @@ -3,5 +3,6 @@ return [ 'link_exists' => 'Аккаунт уже привязан', 'link_success' => 'Аккаунт привязан', + 'link_socialite' => 'Аккаунты, которые можно привязать', 'linked_socialite' => 'Привязанные аккаунты', ]; From 30f58185590998dbd82c7fc90e8d0a662127766d Mon Sep 17 00:00:00 2001 From: Ichi Date: Wed, 29 Jan 2025 11:14:01 +0500 Subject: [PATCH 2/2] Update SocialiteController.php fix key config --- src/Http/Controllers/SocialiteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/SocialiteController.php b/src/Http/Controllers/SocialiteController.php index c8280b7..5aa434a 100644 --- a/src/Http/Controllers/SocialiteController.php +++ b/src/Http/Controllers/SocialiteController.php @@ -50,7 +50,7 @@ protected function hasDriver(string $driver): bool protected function drivers(): array { - return config('socialite.drivers', []); + return config('moonshine-socialite.drivers', []); } /**