Support webauthn ()

Migrate from U2F to Webauthn

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Lunny Xiao
2022-01-14 23:03:31 +08:00
committed by GitHub
parent 8808293247
commit 35c3553870
224 changed files with 35040 additions and 1079 deletions
.eslintrc
cmd
custom/conf
docs/content/doc/advanced
go.modgo.sum
models
modules
options/locale
package-lock.jsonpackage.json
public/vendor/plugins/u2f
routers/web
services
templates
vendor
github.com
cloudflare/cfssl
duo-labs/webauthn
fxamacker/cbor/v2
golang-jwt/jwt
google/certificate-transparency-go
markbates/goth
satori/go.uuid
x448/float16
golang.org/x/crypto
modules.txt
web_src
webpack.config.js

@ -63,7 +63,7 @@ import {
initRepoSettingSearchTeamBox,
} from './features/repo-settings.js';
import {initOrgTeamSearchRepoBox, initOrgTeamSettings} from './features/org-team.js';
import {initUserAuthU2fAuth, initUserAuthU2fRegister} from './features/user-auth-u2f.js';
import {initUserAuthWebAuthn, initUserAuthWebAuthnRegister} from './features/user-auth-webauthn.js';
import {initRepoRelease, initRepoReleaseEditor} from './features/repo-release.js';
import {initRepoEditor} from './features/repo-editor.js';
import {initCompSearchUserBox} from './features/comp/SearchUserBox.js';
@ -163,7 +163,7 @@ $(document).ready(() => {
initUserAuthLinkAccountView();
initUserAuthOauth2();
initUserAuthU2fAuth();
initUserAuthU2fRegister();
initUserAuthWebAuthn();
initUserAuthWebAuthnRegister();
initUserSettings();
});