Support Server requests for MFA, Render failed UI statuses to user, C… (#4483)

* Support Server requests for MFA, Render failed UI statuses to user, Connect to KnownHosts component
This commit is contained in:
Zach H 2021-11-23 02:45:08 -05:00 committed by GitHub
parent 73c5956ece
commit 0683d1aced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 168 additions and 91 deletions

View file

@ -1,3 +1,4 @@
import { Type } from 'protobufjs';
import { Types } from './server.types';
export const Actions = {
@ -68,6 +69,15 @@ export const Actions = {
type: Types.CLEAR_LOGS
}),
resetPassword: () => ({
type: Types.RESET_PASSWORD
type: Types.RESET_PASSWORD_REQUESTED
}),
resetPasswordFailed: () => ({
type: Types.RESET_PASSWORD_FAILED
}),
resetPasswordChallenge: () => ({
type: Types.RESET_PASSWORD_CHALLENGE
}),
resetPasswordSuccess: () => ({
type: Types.RESET_PASSWORD_SUCCESS
})
}