aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/View/SignIn.elm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/View/SignIn.elm b/src/client/View/SignIn.elm
index 6fb809d..2a6cbca 100644
--- a/src/client/View/SignIn.elm
+++ b/src/client/View/SignIn.elm
@@ -37,18 +37,18 @@ renderSignIn model signInView =
]
, div
[ class "result" ]
- [ signInResult signInView ]
+ [ signInResult model signInView ]
]
-signInResult : SignInView -> Html
-signInResult signInView =
+signInResult : Model -> SignInView -> Html
+signInResult model signInView =
case signInView.result of
Just result ->
case result of
Ok login ->
div
[ class "success" ]
- [ text ("We sent you an email, please click to the provided link in order to sign in.") ]
+ [ text (getMessage "SignInEmailSent" model.translations) ]
Err error ->
div
[ class "error" ]