diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-04-24 17:34:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-24 17:34:51 +0300 |
commit | 06a05700aacf1d8b3e34a879364eb23507b751c4 (patch) | |
tree | 518df3c34201c18c11cdab6d0aae24fd5be6ee78 | |
parent | d3e6feb7de2a24ab6fb064d984c436a0e9861134 (diff) | |
parent | 907894212b5595a6a80ae92cca8e009b1aeb6432 (diff) |
Merge pull request #15215 from nextcloud/backport/15148/stable16
[stable16] Fix mapper not properly casting int in oauth2 code
-rw-r--r-- | apps/oauth2/lib/Db/AccessToken.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/oauth2/lib/Db/AccessToken.php b/apps/oauth2/lib/Db/AccessToken.php index 8266a9a0068..24ff7ac8278 100644 --- a/apps/oauth2/lib/Db/AccessToken.php +++ b/apps/oauth2/lib/Db/AccessToken.php @@ -45,9 +45,9 @@ class AccessToken extends Entity { public function __construct() { $this->addType('id', 'int'); - $this->addType('token_id', 'int'); - $this->addType('client_id', 'int'); - $this->addType('hashed_code', 'string'); - $this->addType('encrypted_token', 'string'); + $this->addType('tokenId', 'int'); + $this->addType('clientId', 'int'); + $this->addType('hashedCode', 'string'); + $this->addType('encryptedToken', 'string'); } } |