mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: add webauthn support (#484)
Co-authored-by: panda <panda_dtdyy@outlook.com> Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
3d3a5480e3
commit
d069fe127b
29 files changed
+621
-195
No files matched your search
@@ -13,6 +13,7 @@ class TokenModel {
|
||||
static TYPE_LOSTPASS = 5;
|
||||
static TYPE_EXPORT = 6;
|
||||
static TYPE_IMPORT = 7;
|
||||
static TYPE_WEBAUTHN = 8;
|
||||
static TYPE_TEXTS = {
|
||||
[TokenModel.TYPE_SESSION]: 'Session',
|
||||
[TokenModel.TYPE_REGISTRATION]: 'Registration',
|
||||
@@ -21,6 +22,7 @@ class TokenModel {
|
||||
[TokenModel.TYPE_LOSTPASS]: 'Lost Password',
|
||||
[TokenModel.TYPE_EXPORT]: 'Export',
|
||||
[TokenModel.TYPE_IMPORT]: 'Import',
|
||||
[TokenModel.TYPE_WEBAUTHN]: 'WebAuthn',
|
||||
};
|
||||
|
||||
static async add(
|
||||
|
||||
Reference in new issue
Block a user