From 4cdc2d8d079058ca3c27716b8120587dde5e2af0 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 22 Feb 2022 19:53:34 -0600 Subject: s/username/handle --- src/main.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.lisp') diff --git a/src/main.lisp b/src/main.lisp index 261d722..a700796 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -439,9 +439,9 @@ (with-plist (password1 password2 handle) (lzb:request-body) (unless (equal password1 password2) (http-err 400 "Passwords dont match")) - (when (contributor-by-handle username) - (http-err 403 (format nil "The name ~a is already taken." username))) - (redeem-invite code username password1) + (when (contributor-by-handle handle) + (http-err 403 (format nil "The name ~a is already taken." handle))) + (redeem-invite code handle password1) "true")) (defendpoint* :post "/access" () () -- cgit v1.2.3