Merge pull request #435 from anthonyf/main

Make web auth token more secure
This commit is contained in:
David Botton 2025-06-21 23:54:43 -04:00 committed by GitHub
commit 0bbb123f0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,7 +196,8 @@ if one is present and login fails."
(defun make-token () (defun make-token ()
"Create a unique token used to associate a browser with a user" "Create a unique token used to associate a browser with a user"
(get-universal-time)) (crypto:byte-array-to-hex-string
(crypto:random-data 16)))
;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;
;; create-base-table ;; ;; create-base-table ;;