diff options
-rw-r--r-- | MoodlePasswordPrimaryAuthenticationProvider.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MoodlePasswordPrimaryAuthenticationProvider.php b/MoodlePasswordPrimaryAuthenticationProvider.php index 1fb9891..2799e9a 100644 --- a/MoodlePasswordPrimaryAuthenticationProvider.php +++ b/MoodlePasswordPrimaryAuthenticationProvider.php @@ -195,8 +195,7 @@ class MoodlePasswordPrimaryAuthenticationProvider extends AbstractPrimaryAuthent } $user->setEmail( $userinfo->email ); - - // TODO This should not be needed once https://bugzilla.wikimedia.org/show_bug.cgi?id=13963 is fixed. + $user->confirmEmail(); $user->saveSettings(); } |