mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 05:11:54 +08:00
bffbbf5470
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. |
||
---|---|---|
.. | ||
config | ||
actions_test.go | ||
actions.go | ||
admin.go | ||
api.go | ||
asset_dynamic.go | ||
asset_static.go | ||
attachment_test.go | ||
attachment.go | ||
cache.go | ||
camo.go | ||
config_env_test.go | ||
config_env.go | ||
config_provider_test.go | ||
config_provider.go | ||
config.go | ||
cors.go | ||
cron_test.go | ||
cron.go | ||
database_sqlite.go | ||
database_test.go | ||
database.go | ||
federation.go | ||
git_test.go | ||
git.go | ||
highlight.go | ||
i18n.go | ||
incoming_email.go | ||
indexer_test.go | ||
indexer.go | ||
lfs_test.go | ||
lfs.go | ||
log_test.go | ||
log.go | ||
mailer_test.go | ||
mailer.go | ||
markup.go | ||
metrics.go | ||
migrations.go | ||
mime_type_map.go | ||
mirror.go | ||
oauth2_test.go | ||
oauth2.go | ||
other.go | ||
packages_test.go | ||
packages.go | ||
path_test.go | ||
path.go | ||
picture.go | ||
project.go | ||
proxy.go | ||
queue.go | ||
repository_archive_test.go | ||
repository_archive.go | ||
repository.go | ||
security.go | ||
server.go | ||
service_test.go | ||
service.go | ||
session.go | ||
setting_test.go | ||
setting.go | ||
ssh.go | ||
storage_test.go | ||
storage.go | ||
task.go | ||
time.go | ||
ui.go | ||
webhook.go |