~taavi/inbox

laravel-socialite-mediawiki: Add token to user in provider v1 SUPERSEDED

~addshore: 1
 Add token to user in provider

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

[PATCH laravel-socialite-mediawiki] 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..347d41d 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
laravel-socialite-mediawiki/patches/.build.yml: FAILED in 41s

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

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

✗ #659933 FAILED laravel-socialite-mediawiki/patches/.build.yml https://builds.sr.ht/~taavi/job/659933