Commits

Luke Plant committed 63cbe78

Use proper password field for login form

Comments (0)

Files changed (1)

src/Blog/Forms.hs

                        , maxlength = Just 50
                        , name = "name"
                        , identifier = "id_name"
+                       , password = False
                        }
 
 emailWidget = TextInput { value = ""
                         , maxlength = Just 320
                         , name = "email"
                         , identifier = "id_email"
+                       , password = False
                         }
 
 commentAllowedFormats =  [Plaintext, RST]
                          , identifier = "id_message"
                          }
 
--- TODO properly
 passwordWidget = TextInput { value = ""
                            , size = Just 20
                            , maxlength = Just 20
                            , name = "password"
                            , identifier = "id_password"
+                           , password = True
                            }
 
 usernameWidget = nameWidget { TI.name = "username"