Files
authentik/website/docs/expressions/_user.md
Tana M Berry 6b2fced1b9 Revert "website: latest migration to new structure" (#11634)
Revert "website: latest migration to new structure (#11522)"

This reverts commit 9a89a5f94b.
2024-10-09 00:30:50 +02:00

266 B

  • user: The current user. This may be None if there is no contextual user. See User.

Example:

return {
  "custom_attribute": request.user.attributes.get("custom_attribute", "default"),
}