Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
In some template, you can find inline JS snippets. However, such inline scripts can be forbidden by strong CSP. Could we imagine to export these snippets to conventional .JS static files?
(function() {
var message = "{% trans 'Do you really want to remove the selected email address?' %}";
var actions = document.getElementsByName('action_remove');
if (actions.length) {
actions[0].addEventListener("click", function(e) {
if (! confirm(message)) {
e.preventDefault();
}
});
}
})();
In some template, you can find inline JS snippets. However, such inline scripts can be forbidden by strong CSP. Could we imagine to export these snippets to conventional .JS static files?
templates/mfa/webauthn/snippets/login_script.html
:templates/mfa/webauthn/reauthenticate.html
:templates/mfa/webauthn/add_form.html
:templates/mfa/authenticate.html
:templates/account/email.html
: