fix: prevent admin password update from repeatedly triggering password reset
This commit is contained in:
parent
1ac39a6f5d
commit
3a6995d5cc
@ -114,7 +114,7 @@ stringData:
|
||||
echo '...created.'
|
||||
else
|
||||
echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync password..."
|
||||
gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}"
|
||||
gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --must-change-password=false
|
||||
echo '...password sync done.'
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user