Commit e43a33aa authored by Emily Jensen's avatar Emily Jensen

Removed backup code from IForm

parent a2a17702
......@@ -15,7 +15,6 @@ export const FORM_ID = "Manage Backup Code Form";
export interface IForm {
oldPassword: string;
newBackupCode: string | null;
}
export interface IState extends IBaseFormState {
......@@ -32,8 +31,7 @@ export const newBackupCode = (state: IState) => state.newBackupCode;
export const initialFormState = validateAndUpdateFormState(
createFormGroupState<IForm>(FORM_ID, {
oldPassword: "",
newBackupCode: ""
oldPassword: ""
})
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment