Skip to content

Commit

Permalink
Someone messed up indentation of my (assuming) form. If it was you, g…
Browse files Browse the repository at this point in the history
…et the latest version of clojure-mode.el and start customizing your indentation with M-x customize-variable clojure-defun-indents
  • Loading branch information
amalloy committed Apr 24, 2011
1 parent 95b3371 commit 89ce06c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/foreclojure/register.clj
Expand Up @@ -34,14 +34,14 @@
"Passwords don't match",
(not (empty? email))
"Please enter a valid email address"]
(do
(insert! :users
{:user lower-user
:pwd (.encryptPassword (StrongPasswordEncryptor.) pwd)
:email email})
(session/session-put! :user user)
(response/redirect "/"))
(flash-error why "/register"))))
(do
(insert! :users
{:user lower-user
:pwd (.encryptPassword (StrongPasswordEncryptor.) pwd)
:email email})
(session/session-put! :user user)
(response/redirect "/"))
(flash-error why "/register"))))

(defroutes register-routes
(GET "/register" [] (register-page))
Expand Down

0 comments on commit 89ce06c

Please sign in to comment.