~taavi/inbox

laravel-socialite-mediawiki: Add token to user in provider v2 APPLIED

~addshore: 1
 Add token to user in provider

 1 files changed, 1 insertions(+), 1 deletions(-)
#659935 .build.yml success
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/27814/mbox | git am -3
Learn more about email & git

[PATCH laravel-socialite-mediawiki v2] Add token to user in provider Export this patch

From: addshore <addshorewiki@gmail.com>

---
 includes/Socialite/One/WikiSocialiteProvider.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/Socialite/One/WikiSocialiteProvider.php b/includes/Socialite/One/WikiSocialiteProvider.php
index 1e0f095..d8277ba 100644
--- a/includes/Socialite/One/WikiSocialiteProvider.php
+++ b/includes/Socialite/One/WikiSocialiteProvider.php
@@ -43,6 +43,6 @@ class WikiSocialiteProvider extends AbstractProvider {
			'groups' => $user->groups,
		];

		return ( new User() )->setRaw( $data )->map( $data );
		return ( new User() )->setToken( $token->getIdentifier(), $token->getSecret() )->setRaw( $data )->map( $data );
	}
}
-- 
2.32.0
Applied, thanks! I published a new minor version (v1.5.0) with this 
included in it.
laravel-socialite-mediawiki/patches/.build.yml: SUCCESS in 38s

[Add token to user in provider][0] v2 from [~addshore][1]

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

✓ #659935 SUCCESS laravel-socialite-mediawiki/patches/.build.yml https://builds.sr.ht/~taavi/job/659935