diff options
author | Joris Guyonvarch | 2015-07-19 16:07:15 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-07-19 16:07:15 +0200 |
commit | 0d589e12a0c32936303de46b1e462dd19648170d (patch) | |
tree | 95527317fae74ed620ad1b118abbbe2ccf616d19 /src/client/Model/View | |
parent | e4eefaa5b418780e6fb63e929f826b927bbeac68 (diff) |
Login with a token validation
Diffstat (limited to 'src/client/Model/View')
-rw-r--r-- | src/client/Model/View/SignIn.elm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/Model/View/SignIn.elm b/src/client/Model/View/SignIn.elm new file mode 100644 index 0000000..1c8eae7 --- /dev/null +++ b/src/client/Model/View/SignIn.elm @@ -0,0 +1,15 @@ +module Model.View.SignIn + ( SignIn + , initSignIn + ) where + +type alias SignIn = + { login : String + , authentication : Maybe (Result String String) + } + +initSignIn : SignIn +initSignIn = + { login = "" + , authentication = Nothing + } |