mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
Merge pull request #124 from andremralves/fix/hitting-enter-on-bootstrap-page
fix: hitting enter after setting password redirects to demo page
This commit is contained in:
@@ -47,6 +47,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) {
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
value={password1}
|
||||
onChange={e => setPassword1(e.target.value)}
|
||||
onEnter={onSubmit}
|
||||
/>
|
||||
<Input
|
||||
placeholder="Confirm password"
|
||||
@@ -54,6 +55,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) {
|
||||
value={password2}
|
||||
onChange={e => setPassword2(e.target.value)}
|
||||
style={{ marginTop: 10 }}
|
||||
onEnter={onSubmit}
|
||||
/>
|
||||
|
||||
<View
|
||||
|
||||
Reference in New Issue
Block a user