You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
207 B
PHTML
8 lines
207 B
PHTML
9 years ago
|
<?php
|
||
|
require_once(API_PATH . 'dao/security_dao.php');
|
||
|
|
||
|
function get_user_for_token($token, $hesk_settings) {
|
||
|
$hash = hash('sha512', $token);
|
||
|
|
||
|
return get_user_for_token_hash($hash, $hesk_settings);
|
||
|
}
|