From a8e0fc6c5d85a4007ab68fe867cb1a7bee4c93c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Fri, 23 Mar 2018 20:32:10 +0100 Subject: Changing the user-0 data to sysadmin and user-1 username to user-1 (#8494) --- cmd/commands/sampledata.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd') diff --git a/cmd/commands/sampledata.go b/cmd/commands/sampledata.go index 5377f1153..910913eef 100644 --- a/cmd/commands/sampledata.go +++ b/cmd/commands/sampledata.go @@ -333,6 +333,13 @@ func createUser(idx int, teamMemberships int, channelMemberships int, teamsAndCh firstName := fake.FirstName() lastName := fake.LastName() username := fmt.Sprintf("%s.%s", strings.ToLower(firstName), strings.ToLower(lastName)) + if idx == 0 { + username = "sysadmin" + password = "sysadmin" + email = "sysadmin@sample.mattermost.com" + } else if idx == 1 { + username = "user-1" + } position := fake.JobTitle() roles := "system_user" if idx%5 == 0 { -- cgit v1.2.3-1-g7c22