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:
parent
a9846e7805
commit
ea316627be
5 changed files with 31 additions and 0 deletions
4
bw-dev
4
bw-dev
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue