debian-mirror-gitlab/app/assets/javascripts/authentication/mount_2fa.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
231 B
JavaScript
Raw Normal View History

2023-05-27 22:25:52 +05:30
import { initWebauthnAuthenticate, initWebauthnRegister } from './webauthn';
2020-06-23 00:09:42 +05:30
export const mount2faAuthentication = () => {
2023-05-27 22:25:52 +05:30
initWebauthnAuthenticate();
2020-06-23 00:09:42 +05:30
};
export const mount2faRegistration = () => {
2023-05-27 22:25:52 +05:30
initWebauthnRegister();
2020-06-23 00:09:42 +05:30
};