summaryrefslogtreecommitdiff
path: root/model.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-10-27 13:13:21 -0500
committerColin Okay <colin@cicadas.surf>2022-10-27 13:13:21 -0500
commit75926d0ed50473efc106fa83231c862063d0f0c3 (patch)
treeb0f2c20d47670868a7b8524c69a8ed499b64de3d /model.lisp
parentfda05f8ce638987d332c8aff4043afa74e52523f (diff)
Add: logging in with pw
Diffstat (limited to 'model.lisp')
-rw-r--r--model.lisp10
1 files changed, 5 insertions, 5 deletions
diff --git a/model.lisp b/model.lisp
index cc87453..fc8d93f 100644
--- a/model.lisp
+++ b/model.lisp
@@ -88,11 +88,11 @@
(when (uses-remaining invite)
(decf (uses-remaining invite))
(unless (plusp (uses-remaining invite))
- (bknr.datastore:delete-object invite))
- (let ((user (make-instance 'user :name username)))
- (setf (user-pwhash user)
- (hash-string pw (user-pwsalt user)))
- user)))))
+ (bknr.datastore:delete-object invite)))
+ (let ((user (make-instance 'user :name username)))
+ (setf (user-pwhash user)
+ (hash-string pw (user-pwsalt user)))
+ user))))
(defun append-track (pl tr)
(with-transaction ()