summaryrefslogtreecommitdiff
path: root/web/src/services/Api.ts
diff options
context:
space:
mode:
authorClement Michaud <clement.michaud34@gmail.com>2019-12-07 12:18:22 +0100
committerClément Michaud <clement.michaud34@gmail.com>2019-12-08 14:31:48 +0100
commit5942e004126359e050b8f39dcda4fda775356097 (patch)
treee55b3e44fcf98986b9bf27121ff201e0781a0517 /web/src/services/Api.ts
parent778f0690139ad651bd3cca67f64fafc95aa9e352 (diff)
Introduce hasU2F and hasTOTP in user info.
Diffstat (limited to 'web/src/services/Api.ts')
-rw-r--r--web/src/services/Api.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/services/Api.ts b/web/src/services/Api.ts
index f1dc4d5ce..22850d084 100644
--- a/web/src/services/Api.ts
+++ b/web/src/services/Api.ts
@@ -21,7 +21,8 @@ export const ResetPasswordPath = "/api/reset-password"
export const LogoutPath = "/api/logout";
export const StatePath = "/api/state";
-export const UserPreferencesPath = "/api/secondfactor/preferences";
+export const UserInfoPath = "/api/user/info";
+export const UserInfo2FAMethodPath = "/api/user/info/2fa_method";
export const Available2FAMethodsPath = "/api/secondfactor/available";
export interface ErrorResponse {