                               (s/required-key :type) s/Str
                               (s/optional-key :label) s/Str
                               (s/optional-key :placeholder) s/Str
-                              (s/optional-key :required) s/Bool}]
-   })
+                              (s/optional-key :required) s/Bool}]})
 
 (defn new-login-form [& {:as opts}]
   (component/using


        {:status 302
         :headers {"Location" (or (get params "requested-uri") "/")} ; "/" can be parameterized (TODO)
         :cookies {"session" (start-session! session-store id)
                   "requested-uri" ""}}

        ;; Return back to login form

                :renderer (->PlainLoginFormRenderer)
                :fields
                [{:id "username" :name "username" :type "input" :label "Username"}
                 {:id "password" :name "password" :type "password" :label "Password"}]
                :uid "username"})
        (s/validate new-login-form-schema)
        map->LoginForm)
