diff options
Diffstat (limited to 'lisp/sql/auth-pkg.lisp')
| -rw-r--r-- | lisp/sql/auth-pkg.lisp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/sql/auth-pkg.lisp b/lisp/sql/auth-pkg.lisp index 21a996e..58d89cc 100644 --- a/lisp/sql/auth-pkg.lisp +++ b/lisp/sql/auth-pkg.lisp @@ -166,9 +166,9 @@ (let* ((auth-pkg (make-instance 'auth-pkg)) (has-all-roles-p (let ((has-all-roles-p t)) (with-bogenherr-database - (loop for role in (if (listp ,roles) ,roles (list ,roles)) do - (when (not (has-role auth-pkg ,session-name role)) - (setf has-all-roles-p nil))) + (loop for role in (if (listp ,roles) ,roles (list ,roles)) + do (when (not (has-role auth-pkg ,session-name role)) + (setf has-all-roles-p nil))) has-all-roles-p)))) (if has-all-roles-p ,@body |
