mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Make web token more secure
This commit is contained in:
parent
3f0e373708
commit
f406e9271c
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ if one is present and login fails."
|
|||
|
||||
(defun make-token ()
|
||||
"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 ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue