MDL-55071 core_auth: Move new login renderable to core_auth

Part of MDL-55071
This commit is contained in:
Damyon Wiese 2016-09-21 13:20:03 +08:00 committed by Dan Poltawski
parent 256edb99de
commit 13075628ab
3 changed files with 6 additions and 6 deletions

View file

@ -4267,10 +4267,10 @@ EOD;
/**
* Renders the login form.
*
* @param \core\output\login_form $form The renderable.
* @param \core_auth\output\login $form The renderable.
* @return string
*/
public function render_login(\core\output\login $form) {
public function render_login(\core_auth\output\login $form) {
$context = $form->export_for_template($this);
// Override because rendering is not supported in template yet.