Enable simple username+password login - ugly but serviceable
This commit is contained in:
parent
e141fb4666
commit
f934632484
5 changed files with 20 additions and 31 deletions
|
@ -10,7 +10,7 @@ import Widget.Hcard (hcard)
|
|||
|
||||
getHomeR :: Handler Html
|
||||
getHomeR = do
|
||||
user <- runDB . getBy404 $ UniqueUsername "dani"
|
||||
user <- runDB . getBy404 $ UniqueUser "dani"
|
||||
let name = userFullName . entityVal $ user
|
||||
maybeTitle <- asks $ appTitle . appSettings
|
||||
defaultLayout $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue