mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-12 11:33:14 +00:00
modify single user login bug
This commit is contained in:
parent
67b2467bc9
commit
38f89042ac
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $USER == 'admin' ] || [ $USER == 'root' ];then
|
if [ "$USER" == "admin" ] || [ "$USER" == "root" ] || [ "$USER" == "" ];then
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
python /opt/jumpserver/connect.py
|
python /opt/jumpserver/connect.py
|
||||||
|
Loading…
Reference in New Issue
Block a user