mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Merge pull request #18 from nueces/master
Add support for password_file option in paster app.
This commit is contained in:
commit
538c74761a
@ -36,4 +36,5 @@ def paste_app_factory(global_config, **local_conf):
|
||||
root = os.path.expanduser(root)
|
||||
redirect_to_fallback = local_conf.get("redirect_to_fallback", "").lower() in ("yes", "on", "1")
|
||||
fallback_url = local_conf.get("fallback_url")
|
||||
return app(root=root, redirect_to_fallback=redirect_to_fallback, fallback_url=fallback_url)
|
||||
password_file = local_conf.get("password_file")
|
||||
return app(root=root, redirect_to_fallback=redirect_to_fallback, fallback_url=fallback_url, password_file=password_file)
|
||||
|
Loading…
Reference in New Issue
Block a user