[Update] 添加unblock user脚本

pull/1599/head
ibuler 6 years ago
parent 7e65e44a3c
commit 5ce3dd4079

@ -0,0 +1,10 @@
#!/bin/bash
#
python ../apps/manage.py shell << EOF
from django.core.cache import cache
cache.delete_pattern('_LOGIN_BLOCK_*')
cache.delete_pattern('_LOGIN_LIMIT_*')
EOF
Loading…
Cancel
Save