mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-23 12:15:01 +02:00
No automatic 2FA on admin user creation
This commit is contained in:
parent
ccfdef4462
commit
476692b072
1 changed files with 2 additions and 2 deletions
|
@ -697,8 +697,8 @@ printf >&2 "\n"
|
||||||
echo -ne "Username: "
|
echo -ne "Username: "
|
||||||
read djangousername
|
read djangousername
|
||||||
python manage.py createsuperuser --username \${djangousername} --email ${adminemail}
|
python manage.py createsuperuser --username \${djangousername} --email ${adminemail}
|
||||||
RANDBASE=\$(python manage.py generate_totp)
|
#RANDBASE=\$(python manage.py generate_totp)
|
||||||
python manage.py generate_barcode \${RANDBASE} \${djangousername} ${frontenddomain}
|
#python manage.py generate_barcode \${RANDBASE} \${djangousername} ${frontenddomain}
|
||||||
deactivate
|
deactivate
|
||||||
EOF
|
EOF
|
||||||
chmod +x /usr/local/bin/register-rmm-admin
|
chmod +x /usr/local/bin/register-rmm-admin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue