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