Skip to content

Instantly share code, notes, and snippets.

@baumannsven
Last active June 27, 2017 21:04
Show Gist options
  • Save baumannsven/1f3d6e880b21911f4900e2a2b398f799 to your computer and use it in GitHub Desktop.
Save baumannsven/1f3d6e880b21911f4900e2a2b398f799 to your computer and use it in GitHub Desktop.
Contao Managed Edition add Backend User with command line
vendor/bin/contao-console doctrine:query:sql "INSERT INTO tl_user (tstamp, username, name, email, language, backendTheme, showHelp, thumbnails, useRTE, useCE, admin, dateAdded)VALUES(TIME, 'USERNAME', 'NAME', 'EMAIL', 'de', 'flexible', '1', '1', '1', '1', '1', TIME);"
vendor/bin/contao-console contao:user:password "USERNAME" --password="PASSWORD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment