aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cljssss-g.clj4
-rw-r--r--login.st2
2 files changed, 1 insertions, 5 deletions
diff --git a/cljssss-g.clj b/cljssss-g.clj
index f57275f..e1cee88 100644
--- a/cljssss-g.clj
+++ b/cljssss-g.clj
@@ -26,10 +26,6 @@
(sql/transaction
~@body)))
-(defn login-view []
- (.toString (.getInstanceOf templates "login")))
-
-
(defservlet cljssss-g
(GET "/login"
(if (= (params :valuesofbetawillgiverisetodom) "true")
diff --git a/login.st b/login.st
index 41cd2fa..c6e49f5 100644
--- a/login.st
+++ b/login.st
@@ -9,7 +9,7 @@
<body>
$logintext$
- <form method="POST">
+ <form action="login" method="POST">
Username: <input name="name" type="text" /> <br />
Password: <input name="password" type="password" /> <br />
<input type="submit" value="Log In" />