Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-auth_ldap_syncplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-auth_ldap_syncplus
Commits
9ae2e15b
Commit
9ae2e15b
authored
10 years ago
by
Alexander Bias
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix: Check if LDAP auth is really used on manual user creation
parent
a9c38059
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
eventhandler.php
+3
-2
3 additions, 2 deletions
eventhandler.php
version.php
+2
-2
2 additions, 2 deletions
version.php
with
6 additions
and
4 deletions
README.md
+
1
−
0
View file @
9ae2e15b
...
...
@@ -16,6 +16,7 @@ This plugin requires Moodle 2.7+
Changes
-------
*
2014-09-02 - Bugfix: Check if LDAP auth is really used on manual user creation
*
2014-08-29 - Support login via email for first-time LDAP logins (MDL-46638)
*
2014-08-29 - Update version.php
*
2014-08-29 - Update README file
...
...
This diff is collapsed.
Click to expand it.
eventhandler.php
+
3
−
2
View file @
9ae2e15b
...
...
@@ -26,8 +26,9 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
;
function
update_user_onevent
(
$eventdata
)
{
// Do only if username is enclosed in $eventdata - this event handler might be called twice when creating an user, so we have to handle this fact
if
(
isset
(
$eventdata
->
username
)
&&
is_string
(
$eventdata
->
username
))
{
// Do only if user has ldap_syncplus authentication and
// do only if username is enclosed in $eventdata - this event handler might be called twice when creating an user, so we have to handle this fact
if
(
isset
(
$eventdata
->
auth
)
&&
$eventdata
->
auth
==
'ldap_syncplus'
&&
isset
(
$eventdata
->
username
)
&&
is_string
(
$eventdata
->
username
))
{
// Get LDAP Plugin
$authplugin
=
get_auth_plugin
(
'ldap_syncplus'
);
...
...
This diff is collapsed.
Click to expand it.
version.php
+
2
−
2
View file @
9ae2e15b
...
...
@@ -26,8 +26,8 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$plugin
->
component
=
'auth_ldap_syncplus'
;
$plugin
->
version
=
201405120
5
;
$plugin
->
release
=
'2.7 (Build: 20140
82901
)'
;
$plugin
->
version
=
201405120
6
;
$plugin
->
release
=
'2.7 (Build: 20140
90200
)'
;
$plugin
->
requires
=
2014051200
;
$plugin
->
maturity
=
MATURITY_STABLE
;
$plugin
->
dependencies
=
array
(
'auth_ldap'
=>
2014051200
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment