Skip to content
Snippets Groups Projects
Commit 1337f6b3 authored by Tim Steiner's avatar Tim Steiner
Browse files

Make imported users active by default.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@66 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent da1fd0fb
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ function unl_cas_import_user($username)
$userData = array(
'name' => $username,
'mail' => $email
'mail' => $email,
'status' => 1
);
$user = user_save(NULL, $userData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment