We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c07ee76 commit c575a07Copy full SHA for c575a07
1 file changed
src/components/user/CreateAccountForm.js
@@ -46,6 +46,7 @@ class CreateAccountForm extends React.Component {
46
state = {
47
email: undefined,
48
password: undefined,
49
+ password_confirmation: undefined,
50
submitting: false,
51
error: false,
52
}
@@ -86,6 +87,17 @@ class CreateAccountForm extends React.Component {
86
87
onChange={o => this.setState({ password: o.target.value })}
88
/>
89
</Row>
90
+ <Row>
91
+ <TextField
92
+ variant="outlined"
93
+ type={this.state.showPassword ? 'text' : 'password'}
94
+ label="Salasana uudestaan"
95
+ fullWidth
96
+ value={this.state.password}
97
+ onChange={o => this.setState({ password_confirmation: o.target.value })}
98
+ />
99
+ </Row>
100
+
101
102
<Row>
103
<Button
0 commit comments