forked from forgejo/forgejo
![]() Backport #25171 by @silverwind
The plan is that all built-in auth providers use inline SVG for more
flexibility in styling and to get the GitHub icon to follow
`currentcolor`. This only removes the `public/img/auth` directory and
adds the missing svgs to our svg build.
It should map the built-in providers to these SVGs and render them. If
the user has set a Icon URL, it should render that as an `img` tag
instead.
```
gitea-azure-ad
gitea-bitbucket
gitea-discord
gitea-dropbox
gitea-facebook
gitea-gitea
gitea-gitlab
gitea-google
gitea-mastodon
gitea-microsoftonline
gitea-nextcloud
gitea-twitter
gitea-yandex
octicon-mark-github
```
GitHub logo is now white again on dark theme:
<img width="431" alt="Screenshot 2023-06-12 at 21 45 34"
src="
|
||
---|---|---|
.. | ||
assert_interface_test.go | ||
init.go | ||
jwtsigningkey.go | ||
providers.go | ||
providers_base.go | ||
providers_custom.go | ||
providers_openid.go | ||
providers_simple.go | ||
source.go | ||
source_authenticate.go | ||
source_callout.go | ||
source_name.go | ||
source_register.go | ||
store.go | ||
token.go | ||
urlmapping.go |