X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSecurity%2FOAuth.php;h=a6f4fad80af0d117f564b2daafabfd942206b2ff;hb=624e4c192c7f837ac0587a50da6e1409081eb519;hp=a28424c5eae482711e2e5b5fc5e8705251c983ef;hpb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;p=friendica.git diff --git a/src/Security/OAuth.php b/src/Security/OAuth.php index a28424c5ea..a6f4fad80a 100644 --- a/src/Security/OAuth.php +++ b/src/Security/OAuth.php @@ -176,7 +176,7 @@ class OAuth 'write' => (stripos($scope, BaseApi::SCOPE_WRITE) !== false), 'follow' => (stripos($scope, BaseApi::SCOPE_FOLLOW) !== false), 'push' => (stripos($scope, BaseApi::SCOPE_PUSH) !== false), - 'created_at' => DateTimeFormat::utcNow(DateTimeFormat::MYSQL)]; + 'created_at' => DateTimeFormat::utcNow()]; foreach ([BaseApi::SCOPE_READ, BaseApi::SCOPE_WRITE, BaseApi::SCOPE_WRITE, BaseApi::SCOPE_PUSH] as $scope) { if ($fields[$scope] && !$application[$scope]) {