Merge Request #74

Merged
softwarepublico/colab!74
Created by Gustavo Jaruga Cruz

Fix private token plugin conf

Plugin py files was ignoring private_token and gitlab api was not working in this new version. Adding private_token to consider in plugin configuration.

Assignee: None
Milestone: None

Merged by Sergio Oliveira

Source branch has been removed
Commits (1)
2 participants
colab/utils/conf.py
... ... @@ -77,7 +77,7 @@ def load_colab_apps():
77 77 py_settings_d = _load_py_file(file_module, plugins_dir)
78 78 fields = ['verbose_name', 'upstream', 'urls',
79 79 'menu_urls', 'middlewares', 'dependencies',
80   - 'context_processors']
  80 + 'context_processors', 'private_token']
81 81  
82 82 app_name = py_settings_d.get('name')
83 83 if not app_name:
... ...