Commit 2ae21347 authored by sstjohn's avatar sstjohn

fix u2f details popup

parent 1db2558e
......@@ -45,7 +45,7 @@ class U2f_deviceAction extends Action
$deviceDetails->enrolled_str = common_exact_date("@" . $deviceDetails->enrolled);
$cd = CryptHelp::parse_certificate($deviceDetails->certificate);
$cd = Certificate::parse_certificate($deviceDetails->certificate);
$cd['validFrom_str'] = date_format(date_create('@' . $cd['validFrom_time_t']), "r");
$cd['validTo_str'] = date_format(date_create('@' . $cd['validTo_time_t']), "r");
$deviceDetails->certificateDetails = $cd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment