Browse Source

Documented loginpage_hook()

Brendan Abolivier 8 years ago
parent
commit
46da2f61e3
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      auth.php

+ 5
- 0
auth.php View File

@@ -69,6 +69,11 @@ class auth_plugin_macaroons extends auth_plugin_base {
69 69
 		self::__construct();
70 70
 	}
71 71
 
72
+	/* Login page hook
73
+	*
74
+	* Called before displaying the login form, is used to authenticate the user
75
+	* and bypass the form.
76
+	*/
72 77
 	function loginpage_hook() {
73 78
 		global $DB, $login, $CFG;
74 79
 		$placeholders[0] = "/{{firstname}}/";