diff options
author | Joris | 2016-01-01 14:39:40 +0100 |
---|---|---|
committer | Joris | 2016-01-01 14:39:40 +0100 |
commit | 0d0c99fd28b782c7daf02fb5cc48d3eb252e705d (patch) | |
tree | 93f9836152b6db9fc7a7af34ceb1dde920b1f3c3 /src/client/elm/ServerCommunication.elm | |
parent | 5f3d75406ef36924616e3289342647f4939d5004 (diff) |
Simplify persona usage
Diffstat (limited to 'src/client/elm/ServerCommunication.elm')
-rw-r--r-- | src/client/elm/ServerCommunication.elm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/elm/ServerCommunication.elm b/src/client/elm/ServerCommunication.elm index 74b45e8..62644f8 100644 --- a/src/client/elm/ServerCommunication.elm +++ b/src/client/elm/ServerCommunication.elm @@ -14,13 +14,11 @@ import Debug import SimpleHTTP exposing (..) -import Persona exposing (operations) - import Model.User exposing (UserId) import Model.Payment exposing (..) import Model.View.LoggedIn.Add exposing (Frequency(..)) -import Update as U +import Update as U exposing (actions) import Update.SignIn exposing (..) import Update.LoggedIn as UL import Update.LoggedIn.Monthly as UM @@ -51,10 +49,6 @@ sendRequest communication = SignIn assertion -> post ("/signIn?assertion=" ++ assertion) |> flip Task.andThen (always initViewAction) - |> flip Task.onError (\err -> - Signal.send operations.address Persona.SignOut - |> flip Task.andThen (always <| Task.fail err) - ) AddPayment name cost -> post (addPaymentURL name cost Punctual) |