You are here

function example_user_authenticate in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/tests/old/samples/example.module \example_user_authenticate()

File

coder_upgrade/tests/old/samples/example.module, line 2015

Code

function example_user_authenticate() {

  // () -- Change the next line but leave this alone
  global $user;
  $user = user_authenticate($form_values);
  $user = user_authenticate(array(
    'name' => $username,
    'pass' => $password,
  ));
}