mirror of https://github.com/jumpserver/jumpserver
modify single user login bug
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