mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
Fix wrong user in OpenID response (#16736)
* Fixed usage of wrong user. * Added tests.
This commit is contained in:
@@ -5,3 +5,19 @@
|
||||
scope: "openid profile"
|
||||
created_unix: 1546869730
|
||||
updated_unix: 1546869730
|
||||
|
||||
- id: 2
|
||||
user_id: 3
|
||||
application_id: 1
|
||||
counter: 1
|
||||
scope: "openid"
|
||||
created_unix: 1546869730
|
||||
updated_unix: 1546869730
|
||||
|
||||
- id: 3
|
||||
user_id: 5
|
||||
application_id: 1
|
||||
counter: 1
|
||||
scope: "openid profile email"
|
||||
created_unix: 1546869730
|
||||
updated_unix: 1546869730
|
Reference in New Issue
Block a user