From a6cc10a68964e4b8cbf15ae99fd3d31b7111bf78 Mon Sep 17 00:00:00 2001 From: glenneth Date: Mon, 3 Nov 2025 20:28:10 +0300 Subject: [PATCH] fix: Use get-current-user instead of auth:current-user Fixed compilation error by using the correct function name. The codebase uses get-current-user() which is defined in user-management.lisp, not auth:current-user. Build now completes successfully. --- auth-routes.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth-routes.lisp b/auth-routes.lisp index 442187a..dee4714 100644 --- a/auth-routes.lisp +++ b/auth-routes.lisp @@ -112,7 +112,7 @@ (require-authentication) (with-error-handling (if (and current-password new-password) - (let* ((current-user (auth:current-user)) + (let* ((current-user (get-current-user)) (username (gethash "username" current-user)) (stored-hash (gethash "password-hash" current-user))) ;; Verify current password