Skip to content

Instantly share code, notes, and snippets.

@wosc
Created July 14, 2016 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wosc/3de3715248fc22b7e42da865ab815802 to your computer and use it in GitHub Desktop.
Save wosc/3de3715248fc22b7e42da865ab815802 to your computer and use it in GitHub Desktop.
Enable basic auth for wallbag export by adding these configuration statements (files are in app/config/)
backup:
path: "/backup/{category}.{format}"
defaults:
_controller: WallabagCoreBundle:Export:downloadEntries
requirements:
category: all|unread|starred|archive
format: epub|mobi|pdf|json|xml|txt|csv
firewalls:
backup:
pattern: ^/backup/.*
stateless: true
http_basic:
realm: "Wallabag"
provider: fos_userbundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment