diff options
| author | Frédéric Guillot <fred@kanboard.net> | 2014-07-05 16:32:24 -0300 |
|---|---|---|
| committer | Frédéric Guillot <fred@kanboard.net> | 2014-07-05 16:32:24 -0300 |
| commit | 035294798d891d1d2447a79586401b097d0c2ae4 (patch) | |
| tree | ff5198d42ca7e66892e0f523b1b5c4977d9bb98b /app/Model/Config.php | |
| parent | 23341b2326b560ddf71c90915bc55f49bed81446 (diff) | |
Add Postgresql support
Diffstat (limited to 'app/Model/Config.php')
| -rw-r--r-- | app/Model/Config.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Model/Config.php b/app/Model/Config.php index 2f7c660b..178093c4 100644 --- a/app/Model/Config.php +++ b/app/Model/Config.php @@ -174,7 +174,10 @@ class Config extends Base */ public function regenerateTokens() { - $this->db->table(self::TABLE)->update(array('webhooks_token' => Security::generateToken())); + $this->db->table(self::TABLE)->update(array( + 'webhooks_token' => Security::generateToken(), + 'api_token' => Security::generateToken(), + )); $projects = $this->db->table(Project::TABLE)->findAllByColumn('id'); |
