1
0
mirror of https://github.com/jumpserver/jumpserver.git synced 2025-05-06 23:26:50 +00:00
jumpserver/utils/unblock_all_user.sh
2018-07-26 19:30:37 +08:00

11 lines
173 B
Bash

#!/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