Selaa lähdekoodia

Password must be 6 chars long

Girish Ramakrishnan 10 vuotta sitten
vanhempi
commit
28f61dc582
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 1 1
      CloudronManifest.json
  2. 3 3
      start.sh

+ 1 - 1
CloudronManifest.json

@@ -1,7 +1,7 @@
 {
   "id": "io.gogs.cloudronapp",
   "title": "A self-hosted Git service",
-  "description": "easiest, fastest and most painless way to set up a self-hosted Git service.\nDefault credentials are admin:admin",
+  "description": "easiest, fastest and most painless way to set up a self-hosted Git service.\nDefault credentials are administrator:admin123",
   "tagline": "painless self-hosted Git Service",
   "version": "0.0.1",
   "healthCheckPath": "/",

+ 3 - 3
start.sh

@@ -37,9 +37,9 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
         --data "smtp_host=${MAIL_SMTP_SERVER}" \
         --data smtp_user= \
         --data smtp_pwd= \
-        --data admin_name=admin \
-        --data admin_passwd=admin \
-        --data admin_confirm_passwd=admin \
+        --data admin_name=administrator \
+        --data admin_passwd=admin123 \
+        --data admin_confirm_passwd=admin123 \
         --data-urlencode admin_email=girish@forwardbias.in
 fi