You are here

function logintoboggan_revalidate_access in LoginToboggan 6

Same name and namespace in other branches
  1. 7 logintoboggan.module \logintoboggan_revalidate_access()

Access check for user revalidation.

1 string reference to 'logintoboggan_revalidate_access'
logintoboggan_menu in ./logintoboggan.module
Implementation of hook_menu()

File

./logintoboggan.module, line 556
Logintoboggan Module

Code

function logintoboggan_revalidate_access($account) {
  global $user;
  return $user->uid && ($user->uid == $account->uid || user_access('administer users'));
}