1
0
Fork 0

Manual email confirm (#2492)

* manual approve email via bw-dev/manage.py

./bw-dev confirm_email USER
(venv) python manage.py confirm_email USER

* add "confirm_email" and "remove_2fa" to autocompletion

* OK, sometimes I feel fooled by this.

The lione was not LONG ENOUGH.

* Change deactivate reason to None

* Whyever this works now

Python in my system is a wondermachine.
This commit is contained in:
Jascha Ezra Urbach 2022-12-11 21:35:20 +01:00 committed by GitHub
parent a9846e7805
commit ea316627be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 0 deletions

4
bw-dev
View file

@ -265,6 +265,9 @@ case "$CMD" in
remove_2fa)
runweb python manage.py remove_2fa "$@"
;;
confirm_email)
runweb python manage.py confirm_email "$@"
;;
*)
set +x # No need to echo echo
echo "Unrecognised command. Try:"
@ -302,5 +305,6 @@ case "$CMD" in
echo " set_cors_to_s3 [cors file]"
echo " runweb [command]"
echo " remove_2fa"
echo " confirm_email"
;;
esac