Switch to unified view

a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
...
...
265
        myprovider = foo.bar:MyAuthProvider
265
        myprovider = foo.bar:MyAuthProvider
266
266
267
    Then in your .ini file, set registration.method=myprovider
267
    Then in your .ini file, set registration.method=myprovider
268
    '''
268
    '''
269
269
270
    def __init__(self):
271
        from allura.lib.widgets import forms as forms
272
        self.add_project_widget = forms.NeighborhoodAddProjectForm
273
270
    @classmethod
274
    @classmethod
271
    def get(cls):
275
    def get(cls):
272
        method = config.get('registration.method', 'local')
276
        method = config.get('registration.method', 'local')
273
        return g.entry_points['registration'][method]()
277
        return g.entry_points['registration'][method]()
274
278