summaryrefslogtreecommitdiffstats
path: root/apps/oauth2
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-04-24 15:45:03 +0200
committerGitHub <noreply@github.com>2019-04-24 15:45:03 +0200
commit5c6deb11130686831981321f41f044f01966a89b (patch)
tree4f135eea492d488a8685b8e40be535ebfd85caa3 /apps/oauth2
parent38adda4a2bba0493e66b1568cd4f7f85aa081e3c (diff)
parent21d542f9538d10f966720866f830b27c342e889f (diff)
downloadnextcloud-server-5c6deb11130686831981321f41f044f01966a89b.tar.gz
nextcloud-server-5c6deb11130686831981321f41f044f01966a89b.zip
Merge pull request #15148 from nextcloud/fix/oauth2_string_to_int
Fix mapper not properly casting int in oauth2 code
Diffstat (limited to 'apps/oauth2')
-rw-r--r--apps/oauth2/lib/Db/AccessToken.php8
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');
}
}