Show More
@@ -573,8 +573,8 b' def authenticate(username, password, env' | |||||
573 | # get instance of cache manager configured for a namespace |
|
573 | # get instance of cache manager configured for a namespace | |
574 | cache_manager = get_auth_cache_manager(custom_ttl=_cache_ttl) |
|
574 | cache_manager = get_auth_cache_manager(custom_ttl=_cache_ttl) | |
575 |
|
575 | |||
576 |
log.debug(' |
|
576 | log.debug('AUTH_CACHE_TTL for plugin `%s` active: %s (TTL: %s)', | |
577 | plugin_cache_active) |
|
577 | plugin.get_id(), plugin_cache_active, _cache_ttl) | |
578 |
|
578 | |||
579 | # for environ based password can be empty, but then the validation is |
|
579 | # for environ based password can be empty, but then the validation is | |
580 | # on the server that fills in the env data needed for authentication |
|
580 | # on the server that fills in the env data needed for authentication | |
@@ -587,8 +587,7 b' def authenticate(username, password, env' | |||||
587 | # to RhodeCode database. If this function returns data |
|
587 | # to RhodeCode database. If this function returns data | |
588 | # then auth is correct. |
|
588 | # then auth is correct. | |
589 | start = time.time() |
|
589 | start = time.time() | |
590 | log.debug('Running plugin `%s` _authenticate method', |
|
590 | log.debug('Running plugin `%s` _authenticate method', plugin.get_id()) | |
591 | plugin.get_id()) |
|
|||
592 |
|
591 | |||
593 | def auth_func(): |
|
592 | def auth_func(): | |
594 | """ |
|
593 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now