Signup: add a note about remembering your password.

master
Tom Hacohen 4 years ago
parent 0c59aef1dc
commit e9db783640

@ -11,10 +11,8 @@ import Switch from "@material-ui/core/Switch";
import { routeResolver } from "./App";
import ExternalLink from "./widgets/ExternalLink";
import Container from "./widgets/Container";
import * as C from "./constants";
import LoadingIndicator from "./widgets/LoadingIndicator";
import Alert from "@material-ui/lab/Alert";
import { CircularProgress } from "@material-ui/core";
@ -124,9 +122,6 @@ export default function SignupPage() {
const styles = {
form: {
},
forgotPassword: {
paddingTop: 20,
},
textField: {
marginTop: 20,
},
@ -205,9 +200,7 @@ export default function SignupPage() {
value={password}
onChange={handleInputChange(setPassword)}
/>
<div style={styles.forgotPassword}>
<ExternalLink href={C.forgotPassword}>Forgot password?</ExternalLink>
</div>
<FormGroup>
<FormControlLabel
control={
@ -225,6 +218,10 @@ export default function SignupPage() {
<Alert severity="error" style={styles.textField}>{errors.errorGeneral}</Alert>
)}
<Alert severity="warning" style={styles.textField}>
Please make sure you remember your password, as it <em>can't</em> be recovered if lost!
</Alert>
<div style={styles.submit}>
<Button
variant="contained"

Loading…
Cancel
Save