mirror of https://github.com/jumpserver/jumpserver
[Update] 添加unblock user脚本
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…
Reference in New Issue