diff options
| author | Clement Michaud <clement.michaud34@gmail.com> | 2019-12-07 12:18:22 +0100 |
|---|---|---|
| committer | Clément Michaud <clement.michaud34@gmail.com> | 2019-12-08 14:31:48 +0100 |
| commit | 5942e004126359e050b8f39dcda4fda775356097 (patch) | |
| tree | e55b3e44fcf98986b9bf27121ff201e0781a0517 /web/src/services/Api.ts | |
| parent | 778f0690139ad651bd3cca67f64fafc95aa9e352 (diff) | |
Introduce hasU2F and hasTOTP in user info.
Diffstat (limited to 'web/src/services/Api.ts')
| -rw-r--r-- | web/src/services/Api.ts | 3 |
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 { |
