Moodle

Authentication API fails while using settings.php instead of config.html

Details

  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_19_STABLE

Description

I was developing a new authentication plugin by extending auth_plugin_base. One thing that made me sad is that it doesn't work with settings.php.

If create a settings.php instead of a config.html, when i try to view the page it throws me a admin/sectionerror.

This is very frustrating have to write html and manage configurations manually.

Activity

Hide
Nicholas Koeppen added a comment -

I agree this doesn't make a lot of sense that admin settings pages are handled the old way in auth plugins.

Show
Nicholas Koeppen added a comment - I agree this doesn't make a lot of sense that admin settings pages are handled the old way in auth plugins.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: