Skip to content

Commit

Permalink
Fix README.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Jul 29, 2015
1 parent b98910e commit 918a260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.markdown
Expand Up @@ -14,10 +14,10 @@
(setf (ningle:route *app* "/login" :method :POST)
#'(lambda (params)
(if (authorize (assoc "username" params :test #'string=)
(assoc "password" params :test #'string=))
"Authorized!"
"Failed...Try again.")))
(if (authorize (cdr (assoc "username" params :test #'string=))
(cdr (assoc "password" params :test #'string=)))
"Authorized!"
"Failed...Try again.")))
(clack:clackup *app*)
```
Expand Down

0 comments on commit 918a260

Please sign in to comment.