not only apache uses REMOTE_USER

removing the apache mention to make the config more "webserver agnostic"
This commit is contained in:
François Schmidts 2014-01-15 23:01:36 +01:00
parent 18ea7e4942
commit b9ff564c1f
2 changed files with 3 additions and 3 deletions

2
config
View File

@ -47,7 +47,7 @@ stock = utf-8
[auth]
# Authentication method
# Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | custom | apache
# Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | custom | remote_user
type = None
# custom auth handler

View File

@ -18,7 +18,7 @@
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
"""
Trusting apache auth mechanism.
Trusting the HTTP server auth mechanism.
"""
from .. import log
@ -26,5 +26,5 @@ from .. import log
def is_authenticated(user, password):
"""Check if ``user`` is defined and assuming it's valid."""
log.LOGGER.debug('Got user %r from apache.' % user)
log.LOGGER.debug('Got user %r from HTTP server.' % user)
return user is not None