mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
406b92c6fd
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.