Re-add pushing to internal systems (krb5, radius)

This commit is contained in:
nikolark committed 2015-08-03 14:14:25 +02:00
1 parent 68ea5abeb6
commit 3a726a34e9
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -853,7 +853,7 @@ public function _logIn() {
if ($user->id != -1) {
if ($user->store()) {
/* Push the user to LDAP (nikolark) */
/* Continue pushing all users to internal systems (kerberos and radius). */
$migrated = ldap_add_user($user->username, $user->firstname, $user->lastname, $user->email, $user->password, Array('dns-alle'));
_log($migrated);
set_migrated($user->id);
+5
View File
@@ -75,6 +75,11 @@ if( isset($_POST['submit']) ) {
// persist
save_activation_form($data);
// Push the user to internal systems (kerberos, radius)
$migrated = ldap_add_user($data['username'], $data['firstname'], $data['lastname'], $data['email'], $data['password'], array('dns-alle'));
_log($migrated);
set_migrated($data['userid']);
// send warm and fuzzy welcome email
send_confirmation_email($data, $user);