openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
660 stars 389 forks source link

If the user form is submitted without authentication, redirect to login but keep entered data #10988

Open stephanegigandet opened 2 weeks ago

stephanegigandet commented 2 weeks ago

One user reports that after spending a lot of time filling data in the product edit form, he was redirected to the login page, which made him lose all the edits. The back button did not allow to get back the entered values.

It would be great if we could somehow keep the edits so that they are automatically applied after authentification. It is a bit tricky as we can't redirect POST requests.