diff --git a/tutor/templates/hooks/lms/init b/tutor/templates/hooks/lms/init index 07bfbd18a3..48be6f1948 100644 --- a/tutor/templates/hooks/lms/init +++ b/tutor/templates/hooks/lms/init @@ -5,12 +5,13 @@ echo "Loading settings $DJANGO_SETTINGS_MODULE" ./manage.py lms migrate # Create oauth credentials for Android application +./manage.py lms manage_user android android@openedx --staff --superuser ./manage.py lms create_dot_application \ --client-id android \ --client-secret {{ ANDROID_OAUTH2_SECRET }} \ --grant-type password \ android \ - login_service_user + android # Fix incorrect uploaded file path if [ -d /openedx/data/uploads/ ]; then