mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* feat: add log warn when app is run as root user * Modify warning message * Move warning message condition to L415 * move check to cmd/mattermost/main.go * Update server/channels/app/server.go Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com> * Moved checkForRootUser to root.go * format root.go * remove unnecessary space --------- Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com> Co-authored-by: Mattermost Build <build@mattermost.com>