Show More
@@ -209,8 +209,7 b' class SimpleVCS(object):' | |||
|
209 | 209 | """ |
|
210 | 210 | org_proto = environ['wsgi._org_proto'] |
|
211 | 211 | # check if we have SSL required ! if not it's a bad request ! |
|
212 | require_ssl = str2bool( | |
|
213 | SettingsModel().get_ui_by_key('push_ssl').ui_value) | |
|
212 | require_ssl = str2bool(self.repo_vcs_config.get('web', 'push_ssl')) | |
|
214 | 213 | if require_ssl and org_proto == 'http': |
|
215 | 214 | log.debug('proto is %s and SSL is required BAD REQUEST !', |
|
216 | 215 | org_proto) |
General Comments 0
You need to be logged in to leave comments.
Login now