зеркало из https://github.com/nextcloud/appstore.git
add admin email auth docs
This commit is contained in:
Родитель
6c9bf317c7
Коммит
647be046e5
|
@ -18,5 +18,5 @@ nextcloudappstore/local_settings.py
|
|||
*.sqlite3
|
||||
*.wp[ru]
|
||||
nextcloudappstore/settings/production.py
|
||||
bin
|
||||
lib
|
||||
bin/
|
||||
lib/
|
||||
|
|
|
@ -192,11 +192,12 @@ After all settings are adjusted, create the database schema by running the follo
|
|||
|
||||
Creating an Admin User
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
To create the initial admin user, run the following command::
|
||||
To create the initial admin user and verify his email, run the following command::
|
||||
|
||||
python manage.py createsuperuser --username admin --email admin@admin.com
|
||||
echo "from django.contrib.auth.models import User; from allauth.account.models import EmailAddress; EmailAddress.objects.create(user=User.objects.get(username='admin'), email='admin@example.com', verified=True, primary=True)" | python manage.py shell --settings nextcloudappstore.settings.production
|
||||
|
||||
The command will ask for the password.
|
||||
The first command will ask for the password.
|
||||
|
||||
Loading Initial Data
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Загрузка…
Ссылка в новой задаче