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