Skip to content

Add csrf token to forms in useradmin#3388

Merged
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:refactor/csrf-useradmin
Jul 29, 2025
Merged

Add csrf token to forms in useradmin#3388
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:refactor/csrf-useradmin

Conversation

@johannaengland
Copy link
Copy Markdown
Contributor

Contributes to https://github.com/Uninett/campus-tasks/issues/45.

Where to find the forms (ordered by commit):

Operate as user form: Go to http://localhost/useradmin/, click on a user, see form around "Operate as this user" button

Stop operating as user form: After clicking on previous "Operate as this user" button, see banner (form)

Delete account form: Go to http://localhost/useradmin/, click on a user, click on "Delete account", see form

Expire token form: Go to http://localhost/useradmin/tokens/, click on a token, click "Edit token", see form around "Expire token" button

@johannaengland johannaengland requested a review from a team June 13, 2025 09:05
@johannaengland johannaengland self-assigned this Jun 13, 2025
@johannaengland johannaengland added refactor nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) labels Jun 13, 2025
@sonarqubecloud
Copy link
Copy Markdown

@johannaengland johannaengland force-pushed the refactor/csrf-useradmin branch from aef8281 to 69114d3 Compare July 29, 2025 13:25
@sonarqubecloud
Copy link
Copy Markdown

@johannaengland johannaengland merged commit 37a3cec into Uninett:master Jul 29, 2025
14 checks passed
@johannaengland johannaengland deleted the refactor/csrf-useradmin branch July 29, 2025 13:32
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (e457f3c) to head (69114d3).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #3388   +/-   ##
==============================
==============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants