]> source.dussan.org Git - gitea.git/commit
Decoupled code from DefaultSigningKey (#16743)
authorKN4CK3R <admin@oldschoolhack.me>
Fri, 27 Aug 2021 19:28:00 +0000 (21:28 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Aug 2021 19:28:00 +0000 (20:28 +0100)
commit88abb0dc8a388795d5a1fa8bd1e4f0b7d207a0f7
tree5e165ea3a66691b454d4f601d65feb00a3fbcc6e
parentcd8db3a83d3e2e0e0ae299ec94aabc91a7cc0cdd
Decoupled code from DefaultSigningKey (#16743)

Decoupled code from `DefaultSigningKey`. Makes testing a little bit easier and is cleaner.
routers/web/user/oauth.go
routers/web/user/oauth_test.go
services/auth/oauth2.go
services/auth/source/oauth2/token.go