diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-25 15:05:19 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-25 15:05:19 -0400 |
commit | 6756ef2301a5f624941b947ec9effd34b467de9a (patch) | |
tree | c93fe266cdef7ceef2234bf1cde61b5c4b738084 /app/Model/Config.php | |
parent | 06e9486c59831cdd1630647ea7474a39879a37da (diff) |
Move token generation to Security namespace
Diffstat (limited to 'app/Model/Config.php')
-rw-r--r-- | app/Model/Config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Config.php b/app/Model/Config.php index cf634f80..3b90f58d 100644 --- a/app/Model/Config.php +++ b/app/Model/Config.php @@ -3,7 +3,7 @@ namespace Kanboard\Model; use Kanboard\Core\Translator; -use Kanboard\Core\Security; +use Kanboard\Core\Security\Token; use Kanboard\Core\Session; /** @@ -265,7 +265,7 @@ class Config extends Setting */ public function regenerateToken($option) { - $this->save(array($option => Security::generateToken())); + $this->save(array($option => Token::getToken())); } /** |