mirror of
https://github.com/ryannhg/elm-spa.git
synced 2024-11-22 09:44:55 +03:00
Update authentication.md
This commit is contained in:
parent
c9c838b297
commit
3b671b3d36
@ -21,7 +21,7 @@ If your app involves user authentication, you could make a `protectedSandbox` pa
|
||||
|
||||
protectedSandbox :
|
||||
{ init : User -> Url params -> model
|
||||
, update : Msg -> model -> model
|
||||
, update : msg -> model -> model
|
||||
, view : model -> Document msg
|
||||
}
|
||||
-> Page params (Maybe model) msg
|
||||
@ -74,4 +74,4 @@ But now you know that these functions will only be called if the `User` is reall
|
||||
|
||||
---
|
||||
|
||||
That's it! Swing by the [`#elm-spa-users`](https://elmlang.herokuapp.com/) channel and say hello!
|
||||
That's it! Swing by the [`#elm-spa-users`](https://elmlang.herokuapp.com/) channel and say hello!
|
||||
|
Loading…
Reference in New Issue
Block a user