فهرست منبع

Set password length to 16 instead 10.

Raphael Schneeberger 5 سال پیش
والد
کامیت
3d96e3ef64
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      func/main.sh

+ 1 - 1
func/main.sh

@@ -189,7 +189,7 @@ generate_password() {
         matrix="A-Za-z0-9"
         matrix="A-Za-z0-9"
     fi
     fi
     if [ -z "$length" ]; then
     if [ -z "$length" ]; then
-        length=10
+        length=16
     fi
     fi
     head /dev/urandom | tr -dc $matrix | head -c$length
     head /dev/urandom | tr -dc $matrix | head -c$length
 }
 }