mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-11-22 03:12:01 +03:00
Update Auth.elm
This commit is contained in:
parent
2b2643da59
commit
16c62bfe84
@ -22,10 +22,6 @@ type alias User =
|
||||
|
||||
beforeProtectedInit : Shared.Model -> Request -> ElmSpa.Protected User Route
|
||||
beforeProtectedInit shared req =
|
||||
let
|
||||
_ =
|
||||
Debug.log "user" shared.user
|
||||
in
|
||||
case shared.user of
|
||||
Just user ->
|
||||
ElmSpa.Provide user
|
||||
|
Loading…
Reference in New Issue
Block a user