mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Fix broken example of auther usage
This commit is contained in:
parent
6777a78662
commit
096ff074bf
@ -688,7 +688,7 @@ these steps:
|
||||
import pypiserver
|
||||
from pypiserver import bottle
|
||||
import pam
|
||||
pypiserver.app(root='./packages', auther=pam.authenticate)
|
||||
app = pypiserver.app(root='./packages', auther=pam.authenticate)
|
||||
bottle.run(app=app, host='0.0.0.0', port=80, server='auto')
|
||||
|
||||
[Ctrl+ D]
|
||||
|
Loading…
Reference in New Issue
Block a user