Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9614b
)
MDL-65918 auth_oauth2: Require profile library once
author
Jun Pataleta
<jun@moodle.com>
Mon, 22 Jul 2019 09:09:42 +0000
(17:09 +0800)
committer
Jun Pataleta
<jun@moodle.com>
Tue, 23 Jul 2019 02:11:17 +0000
(10:11 +0800)
Thanks to Jason Grimes for the bug report and fix suggestion!
auth/oauth2/classes/auth.php
patch
|
blob
|
blame
|
history
diff --git
a/auth/oauth2/classes/auth.php
b/auth/oauth2/classes/auth.php
index
448c00e
..
1d1ff6f
100644
(file)
--- a/
auth/oauth2/classes/auth.php
+++ b/
auth/oauth2/classes/auth.php
@@
-36,6
+36,7
@@
use core\oauth2\client;
require_once($CFG->libdir.'/authlib.php');
require_once($CFG->dirroot.'/user/lib.php');
+require_once($CFG->dirroot.'/user/profile/lib.php');
/**
* Plugin for oauth2 authentication.