feat: encrypt/decrypt token

This commit is contained in:
yannis
2025-07-02 09:20:54 +02:00
parent ef96314026
commit e97a1f8efd
3 changed files with 8 additions and 5 deletions

View File

@@ -449,7 +449,7 @@ if (empty($reshook)) {
}
print '<td>';
print '<a href="'.DOL_URL_ROOT.'/user/api_token/card.php?id='.$obj->user_id.'&tokenid='.$obj->token_id.'">';
print $obj->token;
print dolDecrypt($obj->token);
print '</a>';
print '</td>';
print '<td>';