mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-23 22:26:16 +03:00
Rename type.
This commit is contained in:
parent
41e4428bf4
commit
82b2f358fa
@ -302,7 +302,7 @@ allForms =
|
||||
logoutForm
|
||||
|> Form.toServerForm
|
||||
|> Form.initCombinedServer (\_ -> Logout)
|
||||
|> Form.combineServer LI form
|
||||
|> Form.combineServer LogIn form
|
||||
|
||||
|
||||
action : RouteParams -> Request.Parser (DataSource (Response ActionData ErrorPage))
|
||||
@ -341,7 +341,7 @@ action routeParams =
|
||||
)
|
||||
|> DataSource.succeed
|
||||
|
||||
Ok ( _, LI emailAddress ) ->
|
||||
Ok ( _, LogIn emailAddress ) ->
|
||||
( okSession
|
||||
, { maybeError = Nothing
|
||||
, sentLink = True
|
||||
@ -354,7 +354,7 @@ action routeParams =
|
||||
|
||||
|
||||
type Action
|
||||
= LI EmailAddress
|
||||
= LogIn EmailAddress
|
||||
| Logout
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user