removing the ring session from note params

This commit is contained in:
Christian Mueller
2014-02-25 18:17:37 +01:00
parent 144218ecc2
commit 6b8188d5e9
+1 -1
View File
@@ -107,7 +107,7 @@
(when (blank? note) "note is empty")])]
(if (empty? errors)
(let [[year month day] (map str (get-date))
params (dissoc params :note :pid :signature :password :version)
params (dissoc params :note :pid :signature :password :version :session)
raw-title (filter #(or (= \- %) (Character/isLetterOrDigit %))
(-> note derive-title trim (sreplace " " "-") lower-case))
max-length (get-setting :max-title-length #(Integer/parseInt %) 80)