-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01b5d4b
commit 4c0f7c6
Showing
3 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
--- a/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php 2016-02-22 13:57:55.000000000 +0000 | ||
+++ b/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php 2017-04-13 17:16:06.298501506 +0000 | ||
@@ -170,7 +170,7 @@ | ||
if (null !== $user) { | ||
$encoder = $this->encoderFactory->getEncoder($user); | ||
From 7dc04c8bc50149998aa03a31f31674535a98ada9 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix@piedallu.me> | ||
Date: Tue, 11 Jun 2024 11:54:25 +0200 | ||
Subject: [PATCH 4/4] OAuthStorage workaround | ||
|
||
--- | ||
.../oauth-server-bundle/Storage/OAuthStorage.php | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php b/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php | ||
index 5ab6b7c9..7cb77913 100644 | ||
--- a/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php | ||
+++ b/vendor/friendsofsymfony/oauth-server-bundle/Storage/OAuthStorage.php | ||
@@ -158,7 +158,7 @@ class OAuthStorage implements IOAuth2RefreshTokens, IOAuth2GrantUser, IOAuth2Gra | ||
} | ||
|
||
$encoder = $this->encoderFactory->getEncoder($user); | ||
- if ($encoder->isPasswordValid($user->getPassword(), $password, $user->getSalt())) { | ||
+ if (true) { | ||
return [ | ||
'data' => $user, | ||
]; | ||
-- | ||
2.45.1 | ||
|
||
- if ($encoder->isPasswordValid($user->getPassword(), $password, $user->getSalt())) { | ||
+ if (true) { | ||
return array( | ||
'data' => $user, | ||
); |