• David Mudrák's avatar
    MDL-63994 login: Clarify inline comments on loginpage_hook() usage · 8324204f
    David Mudrák authored
    While working on the issue, I found these inline comments outdated and
    confusing. The auth plugin types can implement a loginpage_hook()
    method, the purpose of which is to inject the $user and/or $frm into
    this login/index.php script. The new comments should make it more clear.
    Note the second comment mentioned a prelogin_hook() which was an old
    name of what is now called loginpage_hook(). It had nothing to do with
    the existing pre_loginpage_hook() and was only confusing.
index.php 13.6 KB