diff options
Diffstat (limited to 'elm3/User/Login.elm')
-rw-r--r-- | elm3/User/Login.elm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elm3/User/Login.elm b/elm3/User/Login.elm index abfe44ec..09aa0aa7 100644 --- a/elm3/User/Login.elm +++ b/elm3/User/Login.elm @@ -7,6 +7,7 @@ import Json.Encode as JE import Browser import Browser.Navigation exposing (load) import Lib.Api as Api +import Lib.Gen as Gen import Lib.Html exposing (..) @@ -49,7 +50,7 @@ update msg model = , Api.post "/u/login" (encodeForm model) Submitted ) - Submitted Api.Success -> (model, load "/") + Submitted Gen.Success -> (model, load "/") Submitted e -> ({ model | state = Api.Error e }, Cmd.none) |