aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Entity/Client.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-03 21:39:01 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-03 21:39:01 +0200
commitb0da721a5238ece3056ae7af760e9455f7af3e11 (patch)
tree58a85721551374195e5f98a9ae26fb9480cd18b9 /src/Wallabag/ApiBundle/Entity/Client.php
parenta3cc0dd0bfedf8d77c232eb38e8781b3cf38a048 (diff)
downloadwallabag-b0da721a5238ece3056ae7af760e9455f7af3e11.tar.gz
wallabag-b0da721a5238ece3056ae7af760e9455f7af3e11.tar.zst
wallabag-b0da721a5238ece3056ae7af760e9455f7af3e11.zip
Changed relation between API client and refresh token
Fix #2350
Diffstat (limited to 'src/Wallabag/ApiBundle/Entity/Client.php')
-rw-r--r--src/Wallabag/ApiBundle/Entity/Client.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/ApiBundle/Entity/Client.php b/src/Wallabag/ApiBundle/Entity/Client.php
index 3e2f491c..92b2f762 100644
--- a/src/Wallabag/ApiBundle/Entity/Client.php
+++ b/src/Wallabag/ApiBundle/Entity/Client.php
@@ -25,6 +25,11 @@ class Client extends BaseClient
25 */ 25 */
26 protected $name; 26 protected $name;
27 27
28 /**
29 * @ORM\OneToMany(targetEntity="RefreshToken", mappedBy="client", cascade={"remove"})
30 */
31 protected $refreshTokens;
32
28 public function __construct() 33 public function __construct()
29 { 34 {
30 parent::__construct(); 35 parent::__construct();