diff options
author | Joris | 2016-03-11 23:21:06 +0100 |
---|---|---|
committer | Joris | 2016-03-11 23:21:06 +0100 |
commit | 9d57e149fcb124a28813c56f83cf254eb92baa42 (patch) | |
tree | b796c4fdc738006c07e65e01f4845adafe064d2a /src/client/elm/Server.elm | |
parent | 709d1cf587e92508ef73bca8e847cfa510c03069 (diff) |
Don't use persona anymore, use email token to sign in
Diffstat (limited to 'src/client/elm/Server.elm')
-rw-r--r-- | src/client/elm/Server.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/elm/Server.elm b/src/client/elm/Server.elm index 7b03a98..9478f2a 100644 --- a/src/client/elm/Server.elm +++ b/src/client/elm/Server.elm @@ -31,8 +31,8 @@ init = `Task.andMap` (Http.get payersDecoder "/payers") signIn : String -> Task Http.Error Init -signIn assertion = - post ("/signIn?assertion=" ++ assertion) +signIn email = + post ("/signIn?email=" ++ email) |> flip Task.andThen (always init) addPayment : String -> String -> PaymentFrequency -> Task Http.Error PaymentId |