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