mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-04 21:05:54 +08:00
* Prevent legacy users without userkey from logging in * Remove further web-migration code for legacy users * Add i18n for legacy user error message * Update comment * Remove migrate legacy component * Remove i18n messages * Remove migrate legacy encryption reference
15 lines
367 B
TypeScript
15 lines
367 B
TypeScript
import {
|
|
DuoLaunchAction,
|
|
TwoFactorAuthComponentService,
|
|
} from "./two-factor-auth-component.service";
|
|
|
|
export class DefaultTwoFactorAuthComponentService implements TwoFactorAuthComponentService {
|
|
shouldCheckForWebAuthnQueryParamResponse() {
|
|
return false;
|
|
}
|
|
|
|
determineDuoLaunchAction(): DuoLaunchAction {
|
|
return DuoLaunchAction.DIRECT_LAUNCH;
|
|
}
|
|
}
|