Browse Source

fix #586 User password plain text display problem (#917)

* fix #586 User password plain text display problem

* update install.sh and common.properties file
wuchunfu 5 years ago
parent
commit
d0eff9de36

+ 1 - 1
escheduler-common/src/main/resources/common/common.properties

@@ -35,7 +35,7 @@ login.user.keytab.path=/opt/hdfs.headless.keytab
 escheduler.env.path=/opt/.escheduler_env.sh
 
 #resource.view.suffixs
-resource.view.suffixs=txt,log,sh,conf,cfg,py,java,sql,hql,xml
+resource.view.suffixs=txt,log,sh,conf,cfg,py,java,sql,hql,xml,properties
 
 # is development state? default "false"
 development.state=true

+ 1 - 1
escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue

@@ -36,7 +36,7 @@
           <template slot="name"><b>*</b>{{$t('Password')}}</template>
           <template slot="content">
             <x-input
-                    type="input"
+                    type="password"
                     v-model="userPassword"
                     :placeholder="$t('Please enter your password')">
             </x-input>

+ 4 - 4
install.sh

@@ -13,14 +13,14 @@ elif [[ "$OSTYPE" == "linux-gnu" ]]; then
     txt=""
 elif [[ "$OSTYPE" == "cygwin" ]]; then
     # POSIX compatibility layer and Linux environment emulation for Windows
-    echo "Easy Scheduler not support Windows operating system"
+    echo "Dolphin Scheduler not support Windows operating system"
     exit 1
 elif [[ "$OSTYPE" == "msys" ]]; then
     # Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
-    echo "Easy Scheduler not support Windows operating system"
+    echo "Dolphin Scheduler not support Windows operating system"
     exit 1
 elif [[ "$OSTYPE" == "win32" ]]; then
-    echo "Easy Scheduler not support Windows operating system"
+    echo "Dolphin Scheduler not support Windows operating system"
     exit 1
 elif [[ "$OSTYPE" == "freebsd"* ]]; then
     # ...
@@ -164,7 +164,7 @@ execPath="/tmp/escheduler/exec"
 shellEnvPath="$installPath/conf/env/.escheduler_env.sh"
 
 # suffix of the resource file
-resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml"
+resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml,properties"
 
 # development status, if true, for the SHELL script, you can view the encapsulated SHELL script in the execPath directory. 
 # If it is false, execute the direct delete