Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Jul 19, 2023
1 parent 304595b commit 9d78c42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/redturtle/volto/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
/>

<subscriber
for="ZPublisher.interfaces.IPubStart"
handler=".events.manage_auth_token"
/>
for="ZPublisher.interfaces.IPubStart"
handler=".events.manage_auth_token"
/>

</configure>
5 changes: 2 additions & 3 deletions src/redturtle/volto/events.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

def manage_auth_token(event):
"""
set authorization header from cookie
see:
see:
https://github.com/plone/plone.restapi/issues/148
https://github.com/plone/plone.restapi/pull/1303
"""
Expand Down

0 comments on commit 9d78c42

Please sign in to comment.