diff options
Diffstat (limited to 'src/server/Main.hs')
-rw-r--r-- | src/server/Main.hs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/server/Main.hs b/src/server/Main.hs index e5d8cca..3ce6e64 100644 --- a/src/server/Main.hs +++ b/src/server/Main.hs @@ -41,8 +41,12 @@ main = do -- SignIn post "/signIn" $ do - assertion <- param "assertion" :: ActionM Text - signIn config assertion + email <- param "email" :: ActionM Text + signIn config email + + get "/validateSignIn" $ do + token <- param "token" :: ActionM Text + validateSignIn config token -- Users |