This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Wrong password
#5
(19.10.2023, 11:06)Daniel Wrote: Check this
Code:
items = db:getall([[   SELECT user_logs.*, users.name   FROM user_logs   JOIN users ON user_logs.login=users.login   ORDER BY user_logs.id DESC   LIMIT 50 ]]) for _, item in ipairs(items) do   cls = toboolean(item.failed) and 'danger' or 'success'     log(item.login,item.name, cls, item.ip) end 

This was the code I tried according to the example, but it doesn't work.
Reply


Messages In This Thread
Wrong password - by a455115 - 19.10.2023, 09:33
RE: Wrong password - by Daniel - 19.10.2023, 09:47
RE: Wrong password - by a455115 - 19.10.2023, 10:43
RE: Wrong password - by Daniel - 19.10.2023, 11:06
RE: Wrong password - by a455115 - 19.10.2023, 11:29
RE: Wrong password - by Daniel - 19.10.2023, 11:31
RE: Wrong password - by a455115 - 19.10.2023, 11:40
RE: Wrong password - by Daniel - 19.10.2023, 11:42
RE: Wrong password - by a455115 - 19.10.2023, 11:43
RE: Wrong password - by Daniel - 19.10.2023, 11:45
RE: Wrong password - by Daniel - 19.10.2023, 11:46
RE: Wrong password - by a455115 - 19.10.2023, 11:51
RE: Wrong password - by Daniel - 19.10.2023, 11:56
RE: Wrong password - by admin - 19.10.2023, 12:58
RE: Wrong password - by a455115 - 20.10.2023, 05:53
RE: Wrong password - by Daniel - 20.10.2023, 08:10

Forum Jump: