mirror of
https://github.com/moodle/moodle.git
synced 2025-03-07 01:10:02 +01:00
Auth plugins with custom signup forms may not be using renderables / renderers - or even if they are they may return a renderable that can only be rendered with the renderer from the auth plugin. This change checks if the signup form is a renderable - if so try the plugin renderer or fall back on the general renderer. Otherwise call display() from the mform which is the previous way of rendering an mform.