Show More
@@ -33,7 +33,7 b'' | |||||
33 | # following directives implement a fake authentication that allows every |
|
33 | # following directives implement a fake authentication that allows every | |
34 | # username/password combination. |
|
34 | # username/password combination. | |
35 | AuthType Basic |
|
35 | AuthType Basic | |
36 |
AuthName |
|
36 | AuthName ${rhodecode_realm} | |
37 | AuthBasicProvider anon |
|
37 | AuthBasicProvider anon | |
38 | Anonymous * |
|
38 | Anonymous * | |
39 | Require valid-user |
|
39 | Require valid-user | |
@@ -50,7 +50,7 b'' | |||||
50 |
|
50 | |||
51 | <Location ${location}> |
|
51 | <Location ${location}> | |
52 | AuthType Basic |
|
52 | AuthType Basic | |
53 |
AuthName |
|
53 | AuthName ${rhodecode_realm} | |
54 | AuthBasicProvider anon |
|
54 | AuthBasicProvider anon | |
55 | Anonymous * |
|
55 | Anonymous * | |
56 | Require valid-user |
|
56 | Require valid-user |
@@ -23,6 +23,7 b' import os' | |||||
23 |
|
23 | |||
24 | from pyramid.renderers import render |
|
24 | from pyramid.renderers import render | |
25 |
|
25 | |||
|
26 | from rhodecode.lib.utils import get_rhodecode_realm | |||
26 | from rhodecode.model.db import RepoGroup |
|
27 | from rhodecode.model.db import RepoGroup | |
27 | from . import config_keys |
|
28 | from . import config_keys | |
28 |
|
29 | |||
@@ -62,6 +63,7 b' def _render_mod_dav_svn_config(' | |||||
62 | 'parent_path_root': parent_path_root, |
|
63 | 'parent_path_root': parent_path_root, | |
63 | 'repo_group_paths': repo_group_paths, |
|
64 | 'repo_group_paths': repo_group_paths, | |
64 | 'svn_list_parent_path': list_parent_path, |
|
65 | 'svn_list_parent_path': list_parent_path, | |
|
66 | 'rhodecode_realm': get_rhodecode_realm(), | |||
65 | } |
|
67 | } | |
66 |
|
68 | |||
67 | # Render the configuration template to string. |
|
69 | # Render the configuration template to string. |
General Comments 0
You need to be logged in to leave comments.
Login now