You are here

function drupalauth4ssp_user_view in DrupalAuth for SimpleSAMLphp 7

Implements hook_user_view().

File

./drupalauth4ssp.module, line 111
DrupalAuth For simpleSAMLphp module.

Code

function drupalauth4ssp_user_view($account, $view_mode, $langcode) {
  global $user;
  if ($user->uid == $account->uid) {
    _drupalauth4ssp_exec($account);
  }
}