summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/authentication/two_factor_auth/constants.js
blob: 35fc49c88b21f85bc259f486f2a0de684108d4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
export const COPY_BUTTON_ACTION = 'copy';
export const DOWNLOAD_BUTTON_ACTION = 'download';
export const PRINT_BUTTON_ACTION = 'print';

export const TRACKING_LABEL_PREFIX = '2fa_recovery_codes_';

export const RECOVERY_CODE_DOWNLOAD_FILENAME = 'gitlab-recovery-codes.txt';

export const SUCCESS_QUERY_PARAM = 'two_factor_auth_enabled_successfully';

export const COPY_KEYBOARD_SHORTCUT = 'mod+c';