Skip to content

Commit

Permalink
Fix admin script
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Jan 19, 2023
1 parent cd0c951 commit f0b8689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sqlquery() {

case "$1" in
disable-multifactor)
sqlquery "UPDATE users SET tfa_enabled=false, fido2_devices={} WHERE email='$2';"
sqlquery "UPDATE users SET tfa_enabled=false, fido2_devices='{}' WHERE email='$2';"
;;
disable-captcha)
policiesupdate "{\"enable_captcha\": False}"
Expand Down

0 comments on commit f0b8689

Please sign in to comment.