django-mfa2 icon indicating copy to clipboard operation
django-mfa2 copied to clipboard

Token delete formdata fix method

Open AndreasDickow opened this issue 4 years ago • 9 comments

Delete token used the wrong method to access formdata, I exchanged it to POST instead of GET and it fixed the error on submit

AndreasDickow avatar Aug 25 '21 07:08 AndreasDickow

Why the change if the AJAX is sent over GET and not POST?

mkalioby avatar Sep 05 '21 08:09 mkalioby

Hello,

Any updates about this PR.

mkalioby avatar Nov 10 '21 07:11 mkalioby

Still on it, to aquire strict CSP rules conformity, we have to rewrite some javascript.

AndreasDickow avatar Nov 10 '21 07:11 AndreasDickow

Ok, can you share the rules and i can work with you on them, thanks for your help

mkalioby avatar Nov 10 '21 07:11 mkalioby

I now stripped as recomended all url tags from js files see my latest implemenetation https://github.com/mkalioby/django-mfa2/compare/master...AndreasDickow:master. Can you please review the code?

AndreasDickow avatar May 18 '22 13:05 AndreasDickow

We have now included translation tags for international usage and added a german translation of Status Messages. Additional the library is now conform with strict CSP settings not allowing javascript and style in html files.

AndreasDickow avatar Jul 11 '22 07:07 AndreasDickow