feat: ban a user after too many failed attempts

This commit is contained in:
Terry Geng
2020-05-19 09:45:11 +08:00
parent 0080e9b4cd
commit c8f0ccf706
5 changed files with 69 additions and 19 deletions

View File

@ -98,7 +98,8 @@ web_logfile =
auth_method = 'none'
user =
password =
password =
max_attempts = 10
access_address = http://127.0.0.1:8181
@ -261,7 +262,7 @@ cleared_tags = Removed all tags from <b>{song}</b>.
cleared_tags_from_all = Removed all tags from songs on the playlist.
shortlist_instruction = Use <i>!sl {indexes}</i> to play the item you want.
auto_paused = Use <i>!play</i> to resume music!
webpage_token= Your own address to access the web interface is <a href="{address}/?token={token}">{address}/?token={token}</a>
webpage_address= Your own address to access the web interface is <a href="{address}">{address}</a>
help = <h3>Commands</h3>
<b>Control</b>