~taavi/inbox

laravel-socialite-mediawiki: README: Fix "wiki" driver to be "mediawiki" v1 APPLIED

While writing a recent blog post using this library I realized that the
"wiki" driver used in the README appears to be wrong.
"mediawiki" seems
to be the thing to use!

addshore (1):
  README: wiki -> mediawiki driver

 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.32.0
#665147 .build.yml success
laravel-socialite-mediawiki/patches/.build.yml: SUCCESS in 42s

[README: Fix "wiki" driver to be "mediawiki"][0] from [~addshore][1]

[0]: https://lists.sr.ht/~taavi/inbox/patches/27991
[1]: mailto:adamshorland@gmail.com

✓ #665147 SUCCESS laravel-socialite-mediawiki/patches/.build.yml https://builds.sr.ht/~taavi/job/665147
Applied, thanks!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~taavi/inbox/patches/27991/mbox | git am -3
Learn more about email & git

[PATCH laravel-socialite-mediawiki 1/1] README: wiki -> mediawiki driver Export this patch

From: addshore <addshorewiki@gmail.com>

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 6e4365b..d4b122b 100644
--- a/README.md
+++ b/README.md
@@ -45,12 +45,12 @@ class OauthLoginController extends Controller {
	}

	public function login() {
		return Socialite::driver( 'wiki' )
		return Socialite::driver( 'mediawiki' )
			->redirect();
	}

	public function callback() {
		$socialiteUser = Socialite::driver( 'wiki' )->user();
		$socialiteUser = Socialite::driver( 'mediawiki' )->user();

		$user = User::firstOrCreate( [
			'username' => $socialiteUser->name,
-- 
2.32.0
laravel-socialite-mediawiki/patches/.build.yml: SUCCESS in 42s

[README: Fix "wiki" driver to be "mediawiki"][0] from [~addshore][1]

[0]: https://lists.sr.ht/~taavi/inbox/patches/27991
[1]: mailto:adamshorland@gmail.com

✓ #665147 SUCCESS laravel-socialite-mediawiki/patches/.build.yml https://builds.sr.ht/~taavi/job/665147
Applied, thanks!