aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-04-25 19:22:32 +0800
committerGitHub <noreply@github.com>2024-04-25 11:22:32 +0000
commitbffbbf547063fa170cc52ae2e757d5badb336632 (patch)
treede5e17bfdbc504c7c9788ebcd09978340e241b40 /web_src/js/features
parentd0bfc978de802683b9a44720b7f5a8a8394d38be (diff)
downloadgitea-bffbbf547063fa170cc52ae2e757d5badb336632.tar.gz
gitea-bffbbf547063fa170cc52ae2e757d5badb336632.zip
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.
Diffstat (limited to 'web_src/js/features')
0 files changed, 0 insertions, 0 deletions