mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
not only apache uses REMOTE_USER
removing the apache mention to make the config more "webserver agnostic"
This commit is contained in:
parent
18ea7e4942
commit
b9ff564c1f
2 changed files with 3 additions and 3 deletions
2
config
2
config
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue