Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-04-24 17:34:51 +0300
committerGitHub <noreply@github.com>2019-04-24 17:34:51 +0300
commit06a05700aacf1d8b3e34a879364eb23507b751c4 (patch)
tree518df3c34201c18c11cdab6d0aae24fd5be6ee78 /apps
parentd3e6feb7de2a24ab6fb064d984c436a0e9861134 (diff)
parent907894212b5595a6a80ae92cca8e009b1aeb6432 (diff)
Merge pull request #15215 from nextcloud/backport/15148/stable16
[stable16] Fix mapper not properly casting int in oauth2 code
Diffstat (limited to 'apps')
-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');
}
}