diff options
author | Joris | 2016-03-26 12:44:27 +0100 |
---|---|---|
committer | Joris | 2016-03-26 12:44:27 +0100 |
commit | 59c694b0e81deb30ec4e50d5d142b5eda645a27e (patch) | |
tree | 175850ddfe9ace1f50ab6ec11edff094b27da339 /src/server/Controller | |
parent | a11ad41b52ed3682d33382f2a378bf3294d688b2 (diff) |
Move no-reply mail from messages to conf
Diffstat (limited to 'src/server/Controller')
-rw-r--r-- | src/server/Controller/SignIn.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Controller/SignIn.hs b/src/server/Controller/SignIn.hs index b87f7a1..95cfd07 100644 --- a/src/server/Controller/SignIn.hs +++ b/src/server/Controller/SignIn.hs @@ -46,7 +46,7 @@ signIn conf login = Just user -> do token <- liftIO . runDb $ createSignInToken login let url = T.concat ["http://", hostname conf, "?signInToken=", token] - maybeSentMail <- liftIO . sendMail $ SignIn.getMail (entityVal user) url [login] + maybeSentMail <- liftIO . sendMail $ SignIn.getMail conf (entityVal user) url [login] case maybeSentMail of Right _ -> status ok200 |