mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-11 04:50:55 +00:00
Modified auth checking to count login attempts
This commit is contained in:
parent
88b11bffeb
commit
5ceb6312b4
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ check_authenticated_user_and_ip(int userid, struct query *q, int check_ip)
|
||||||
if (res)
|
if (res)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
if (!users[userid].authenticated)
|
if (!(users[userid].authenticated >= 1))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue