mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
42f3644409
- This unifies the security behavior of enrolling security keys with
enrolling TOTP as a 2FA method. When TOTP is enrolled, you cannot use
basic authorization (user:password) to make API request on behalf of the
user, this is now also the case when you enroll security keys.
- The usage of access tokens are the only method to make API requests on
behalf of the user when a 2FA method is enrolled for the user.
- Integration test added.
(cherry picked from commit
|
||
---|---|---|
.. | ||
source | ||
additional_scopes_test.go | ||
auth.go | ||
auth_test.go | ||
basic.go | ||
group.go | ||
httpsign.go | ||
interface.go | ||
main_test.go | ||
oauth2.go | ||
reverseproxy.go | ||
reverseproxy_test.go | ||
session.go | ||
signin.go | ||
source.go | ||
sspi.go | ||
sspiauth_posix.go | ||
sspiauth_windows.go | ||
sync.go |