瀏覽代碼

Documented loginpage_hook()

Brendan Abolivier 8 年之前
父節點
當前提交
46da2f61e3
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      auth.php

+ 5
- 0
auth.php 查看文件

@@ -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}}/";