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