I created a form to send e-mail, usable by all the users connected or not.
I used the element editor (Atto for my site).
I have an error log when a non-logged user uses this form.
Default exception handler: Redirection not supported. The script stopped. Debug:
Error code: redirecterrordetected
* line 2532 of /lib/weblib.php: moodle_exception thrown
* line 2909 of /lib/moodlelib.php: call to redirect()
* line 43 of /lib/editor/atto/autosave-ajax.php: call to require_login()
It seems that Atto wants to check if there is a draft to load, but it fails because current user is not logged.
Is it possible to disable this functionality when I define the form ?
Thanks in advance for your answers.