Sitelet https://github.com/inventree/InvenTree/pull/12794
Skip to content

[1.5.x] Enhanced error message on CSRF failure (#12788) - #12794

Merged
SchrodingersGat merged 1 commit into
1.5.xfrom
backport/1.5.x/pr-12788
Sep 6, 2026
Merged

SchrodingersGat merged 1 commit into
1.5.xfrom
backport/1.5.x/pr-12788

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from master to 1.5.x:

Questions ?

Please refer to the Backport tool documentation

* Enhanced error message on CSRF failure

* Defer to 'detail' field if exists

(cherry picked from commit 9a416df)
@codecov

codecov Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.77%. Comparing base (c154bfa) to head (5d91bdb).
⚠️ Report is 1 commits behind head on 1.5.x.

Additional details and impacted files
@@           Coverage Diff           @@
##            1.5.x   #12794   +/-   ##
=======================================
  Coverage   86.77%   86.77%           
=======================================
  Files        1449     1449           
  Lines       97084    97086    +2     
  Branches    11261    11260    -1     
=======================================
+ Hits        84243    84248    +5     
+ Misses      12777    12774    -3     
  Partials       64       64           
Flag Coverage Δ
backend 90.73% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.08% <ø> (ø)
Backend General 93.60% <ø> (ø)
Frontend 79.71% <ø> (-0.01%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 5b97acc into 1.5.x Sep 6, 2026
47 of 48 checks passed
@SchrodingersGat
SchrodingersGat deleted the backport/1.5.x/pr-12788 branch September 6, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant