You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/user/auth
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.
10 months ago
..
activate.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
activate_prompt.tmpl Refactor "user/active" related logic (#29390) 12 months ago
captcha.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
change_passwd.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
change_passwd_inner.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
finalize_openid.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
forgot_passwd.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
grant.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
grant_error.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
link_account.tmpl Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
oidc_wellknown.tmpl Refactor more code in templates (#29236) 1 year ago
prohibit_login.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
reset_passwd.tmpl Remove unnecessary ".Link" usages (#29929) 11 months ago
signin.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
signin_inner.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
signin_navbar.tmpl Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 11 months ago
signin_openid.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
signup.tmpl Show OpenID Connect and OAuth on signup page (#20242) 1 year ago
signup_inner.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
signup_openid_connect.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
signup_openid_navbar.tmpl Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 11 months ago
signup_openid_register.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
twofa.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
twofa_scratch.tmpl Move all login and account creation page labels to be above inputs (#29432) 11 months ago
webauthn.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
webauthn_error.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago