summaryrefslogtreecommitdiff
path: root/elm/User/PassSet.elm
diff options
context:
space:
mode:
Diffstat (limited to 'elm/User/PassSet.elm')
-rw-r--r--elm/User/PassSet.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/User/PassSet.elm b/elm/User/PassSet.elm
index a04cfe33..3c5c50bc 100644
--- a/elm/User/PassSet.elm
+++ b/elm/User/PassSet.elm
@@ -70,7 +70,7 @@ update msg model =
view : Model -> Html Msg
view model =
- Html.form [ onSubmit Submit ]
+ form_ Submit (model.state == Api.Loading)
[ div [ class "mainbox" ]
[ h1 [] [ text "Set your password" ]
, p [] [ text "Now you can set a password for your account. You will be logged in automatically after your password has been saved." ]