bugfix
This commit is contained in:
parent
be368fb7ca
commit
5fc90a8033
@ -45,7 +45,7 @@ where a.userid = u.id
|
||||
debug(f'{apikey=} not registered')
|
||||
return None
|
||||
rec = recs[0]
|
||||
if rec.allowedips is None:
|
||||
if rec.allowedips is None or rec.allowedips == '':
|
||||
return rec
|
||||
|
||||
ips = rec.allowedips.split(',')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user