Add Temporal::utcNow()

This commit is contained in:
Hypolite Petovan 2018-01-25 23:26:51 -05:00
parent 38ff1b455b
commit 8aff8a76eb
51 changed files with 191 additions and 180 deletions

View file

@ -33,7 +33,7 @@ function lostpass_post(App $a)
$fields = [
'pwdreset' => $pwdreset_token,
'pwdreset_time' => Temporal::convert()
'pwdreset_time' => Temporal::utcNow()
];
$result = dba::update('user', $fields, ['uid' => $user['uid']]);
if ($result) {