Skip to content

Commit

Permalink
feat: remove twitter socialite provider (#7099)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Jan 2, 2024
1 parent 7e0471a commit 89b9f65
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 71 deletions.
2 changes: 0 additions & 2 deletions app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use SocialiteProviders\Google\GoogleExtendSocialite;
use SocialiteProviders\LinkedIn\LinkedInExtendSocialite;
use SocialiteProviders\Manager\SocialiteWasCalled;
use SocialiteProviders\Twitter\TwitterExtendSocialite;

class EventServiceProvider extends ServiceProvider
{
Expand All @@ -42,7 +41,6 @@ class EventServiceProvider extends ServiceProvider
GitHubExtendSocialite::class,
GoogleExtendSocialite::class,
LinkedInExtendSocialite::class,
TwitterExtendSocialite::class,
],
WebauthnRegister::class => [
WebauthnRegistered::class,
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"socialiteproviders/google": "^4.1",
"socialiteproviders/linkedin": "^4.2",
"socialiteproviders/microsoft-azure": "^5.1",
"socialiteproviders/twitter": "^4.1",
"stevebauman/location": "^7.0",
"thecodingmachine/safe": "^2.5",
"tightenco/ziggy": "1.8.1",
Expand Down
54 changes: 2 additions & 52 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
| List of available login providers, coma separated. This uses socialite
| packages.
|
| Supported: azure, facebook, github, google, linkedin, saml2, twitter.
| Supported: azure, facebook, github, google, linkedin, saml2.
|
*/

Expand Down
6 changes: 0 additions & 6 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,4 @@
'logo' => env('SAML2_LOGO', '/img/auth/saml2.svg'),
],

'twitter' => [
'client_id' => env('TWITTER_CLIENT_ID'),
'client_secret' => env('TWITTER_CLIENT_SECRET'),
'redirect' => env('TWITTER_REDIRECT_URI', '/auth/twitter/callback'),
],

];
1 change: 0 additions & 1 deletion lang/de/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'SAML 2.0-Anbieter',
'login_provider_twitter' => 'Twitter',
'password' => 'Das Passwort ist falsch.',
'throttle' => 'Zu viele Loginversuche. Versuchen Sie es bitte in :seconds Sekunden nochmal.',
];
1 change: 0 additions & 1 deletion lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'SAML 2.0 provider',
'login_provider_twitter' => 'Twitter',
'password' => 'The password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];
1 change: 0 additions & 1 deletion lang/es/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'Proveedor SAML 2.0',
'login_provider_twitter' => 'Twitter',
'password' => 'La contraseña es incorrecta.',
'throttle' => 'Demasiados intentos de acceso. Por favor intente nuevamente en :seconds segundos.',
];
1 change: 0 additions & 1 deletion lang/fr/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'Fournisseur SAML 2.0',
'login_provider_twitter' => 'Twitter',
'password' => 'Le mot de passe est incorrect',
'throttle' => 'Tentatives de connexion trop nombreuses. Veuillez essayer de nouveau dans :seconds secondes.',
];
1 change: 0 additions & 1 deletion lang/it/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'Fornitore SAML 2.0',
'login_provider_twitter' => 'Twitter',
'password' => 'Il campo :attribute non è corretto.',
'throttle' => 'Troppi tentativi di accesso. Riprova tra :seconds secondi.',
];
1 change: 0 additions & 1 deletion lang/ml/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'SAML 2.0 പ്രോവൈഡർ',
'login_provider_twitter' => 'Twitter',
'password' => 'അസാധുവായ പാസ്സ്‌വേഡ്.',
'throttle' => 'ലോഗിൻ നിങ്ങളുടെ അക്കൗണ്ടിന് നൽകിയ ശ്രമങ്ങൾ കൂടുതൽ ആയിരിക്കുന്നു. ദയവായി :seconds സെക്കൻഡ് ശേഷം ശ്രമിക്കുക.',
];
1 change: 0 additions & 1 deletion lang/pt/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'Provedor SAML 2.0',
'login_provider_twitter' => 'Twitter',
'password' => 'A palavra-passe está errada.',
'throttle' => 'O número limite de tentativas de login foi atingido. Por favor tente novamente dentro de :seconds segundos.',
];
1 change: 0 additions & 1 deletion lang/ru/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'login_provider_google' => 'Google',
'login_provider_linkedin' => 'LinkedIn',
'login_provider_saml2' => 'Provedor SAML 2.0',
'login_provider_twitter' => 'Twitter',
'password' => 'Некорректный пароль.',
'throttle' => 'Слишком много попыток входа. Пожалуйста, попробуйте ещё раз через :seconds секунд.',
];
2 changes: 1 addition & 1 deletion resources/js/Pages/Vault/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
Régis
</a>
&amp;
<a href="https://twitter.com/asbin" rel="noopener noreferrer" class="text-blue-500 hover:underline">
<a href="https://mamot.fr/@asbin" rel="noopener noreferrer" class="text-blue-500 hover:underline">
Alexis
</a>
</p>
Expand Down

0 comments on commit 89b9f65

Please sign in to comment.