diff options
author | Lizzy Hunt <lizzy.hunt@usu.edu> | 2023-03-24 15:44:30 -0600 |
---|---|---|
committer | Lizzy Hunt <lizzy.hunt@usu.edu> | 2023-03-24 15:44:30 -0600 |
commit | af29569ed5cfc7df6337a9dab51c743116c07343 (patch) | |
tree | 897c623a2cb8817d5f92e421bf5f14aa7fc95786 /src/constants.js | |
parent | 2201d2d9c9729deb33d3596e7b1d0875fb73ca55 (diff) | |
download | aggietimed-af29569ed5cfc7df6337a9dab51c743116c07343.tar.gz aggietimed-af29569ed5cfc7df6337a9dab51c743116c07343.zip |
Add position id in req body, auto fake remember me
Diffstat (limited to 'src/constants.js')
-rw-r--r-- | src/constants.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/constants.js b/src/constants.js index 9b6c037..7ae26c0 100644 --- a/src/constants.js +++ b/src/constants.js @@ -8,8 +8,8 @@ export const AGGIETIME_URL_CONTAINS_SIGNIFIES_AUTH_COMPLETE = "employee"; export const REFRESH_JWT_MS = 5 * 1000 * 60; export const LOGIN_PATH = "api/v1/auth/login"; -export const CLOCKIN_PATH = "api/v1/positions/:position/clock_in"; -export const CLOCKOUT_PATH = "api/v1/positions/:position/clock_out"; +export const CLOCKIN_PATH = "api/v1/positions/:position_id/clock_in"; +export const CLOCKOUT_PATH = "api/v1/positions/:position_id/clock_out"; export const USER_PATH = "api/v1/auth/get_user_info"; export const OPEN_SHIFT_PATH = "api/v1/users/:anumber/open_shift"; export const OPEN_SHIFT_EXP_SEC = 60; @@ -21,6 +21,8 @@ export const SAML_SUBMIT_SELECTOR = "input[type=submit]"; export const SAML_EMAIL_SELECTOR = "input[type=email]"; export const SAML_PASSWORD_SELECTOR = "input[type=password]"; +export const DUO_TRUST_SELECTOR = "#trust-browser-button"; + export const MAX_DEFAULT_RETRY_AMOUNT = 3; export const WAIT_MS = 2000; export const RETRY_EXPONENT = 1.2; |