Convert forgot password to phases like the other flows

This commit is contained in:
J. Ryan Stinnett 2019-02-06 16:30:53 +00:00
parent 8aff6b2e45
commit b20f1d1240
2 changed files with 23 additions and 11 deletions

View file

@ -31,10 +31,10 @@ import { AutoDiscovery } from "matrix-js-sdk";
const PHONE_NUMBER_REGEX = /^[0-9()\-\s]*$/;
// Phases
// Show the appropriate login flow(s) for the server
const PHASE_LOGIN = 0;
// Show controls to configure server details
const PHASE_SERVER_DETAILS = 1;
const PHASE_SERVER_DETAILS = 0;
// Show the appropriate login flow(s) for the server
const PHASE_LOGIN = 1;
// Enable phases for login
const PHASES_ENABLED = true;