0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-15 22:04:02 +01:00
gitea/templates
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622)
Follow #30454
And fix #24957

When using "preferred_username", if no such field,
`extractUserNameFromOAuth2` (old `getUserName`) shouldn't return an
error. All other USERNAME options do not return such error.

And fine tune some logic and error messages, make code more stable and
more friendly to end users.
2024-04-25 11:22:32 +00:00
..
admin Fix flash message for flex-container (#30657) 2024-04-23 08:31:51 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Fix issue comment form and quick-submit (#30623) 2024-04-22 01:00:04 +08:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Remove obsolete CSS text classes (#30576) 2024-04-22 11:21:06 +00:00
package Some NuGet package enhancements (#30280) 2024-04-07 16:46:59 +00:00
projects Fix project name wrapping, remove horizontal margin on header (#30631) 2024-04-23 04:17:51 +00:00
repo Fix view of readme file in the home code page. (#30564) 2024-04-25 00:07:38 +00:00
shared Remove obsolete CSS text classes (#30576) 2024-04-22 11:21:06 +00:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger Fix compare api swagger (#30648) 2024-04-23 02:22:43 +00:00
user Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Correct locale string rendering (#30522) 2024-04-17 10:24:08 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00