Ookma-Kyi
08/31/2022, 3:07 PMbdw429s
08/31/2022, 3:14 PMbdw429s
08/31/2022, 3:15 PMOokma-Kyi
08/31/2022, 3:17 PMbdw429s
08/31/2022, 3:32 PMOokma-Kyi
08/31/2022, 3:32 PMbdw429s
08/31/2022, 3:34 PMbdw429s
08/31/2022, 3:34 PMbdw429s
08/31/2022, 3:34 PMOokma-Kyi
08/31/2022, 3:41 PMtoken
to empty and expiration
to now()
like I do or do you do something else like the cache thing mentioned earlier?bdw429s
08/31/2022, 4:06 PMbdw429s
08/31/2022, 4:07 PMOokma-Kyi
08/31/2022, 4:14 PMOokma-Kyi
08/31/2022, 4:15 PMbdw429s
08/31/2022, 4:15 PMbdw429s
08/31/2022, 4:16 PMbdw429s
08/31/2022, 4:17 PMbdw429s
08/31/2022, 4:17 PMOokma-Kyi
08/31/2022, 4:18 PMresetpassword?userid=1&token=
assuming the expiration date is still good it can be used to reset the user account with id of 1, which is why I set the token to expire immediately after the password is resetbdw429s
08/31/2022, 4:18 PMOokma-Kyi
08/31/2022, 4:18 PMbdw429s
08/31/2022, 4:18 PMbdw429s
08/31/2022, 4:19 PMbdw429s
08/31/2022, 4:19 PMOokma-Kyi
08/31/2022, 4:19 PMbdw429s
08/31/2022, 4:20 PMbdw429s
08/31/2022, 4:20 PMOokma-Kyi
08/31/2022, 4:20 PMbdw429s
08/31/2022, 4:21 PMbdw429s
08/31/2022, 4:22 PMif( !len(rc.token) ){
// block them
}
Its pretty straight forward!Ookma-Kyi
08/31/2022, 4:22 PMOokma-Kyi
08/31/2022, 4:23 PMif ( isEmpty( rc.token ) ) {
// nope
}
bdw429s
08/31/2022, 4:23 PMOokma-Kyi
08/31/2022, 4:24 PMbdw429s
08/31/2022, 4:24 PMbdw429s
08/31/2022, 4:24 PMOokma-Kyi
08/31/2022, 4:25 PMbdw429s
08/31/2022, 4:25 PMOokma-Kyi
08/31/2022, 4:26 PMbdw429s
08/31/2022, 4:26 PMbdw429s
08/31/2022, 4:26 PMbdw429s
08/31/2022, 4:27 PMIs cache a part of Lucee, something that can be automatically set-up?Lucee has RamCache built in, but that is in process. You can set up any of the caches I mentioned above, but that sounds like a new thread after you've done some googling if you can't figure it out
Ookma-Kyi
08/31/2022, 4:28 PMbdw429s
08/31/2022, 4:28 PM