diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-06-06 15:09:42 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-06-09 14:00:00 +0200 |
commit | 60e15e934c6556d34d27ff214f6a148247605bc2 (patch) | |
tree | 7d54becdb99c6b4a0495bbf3168710c91c993826 /lib/private | |
parent | d72d8c1fcb54aa59ab1f62a11ef139abea33f97b (diff) | |
download | nextcloud-server-60e15e934c6556d34d27ff214f6a148247605bc2.tar.gz nextcloud-server-60e15e934c6556d34d27ff214f6a148247605bc2.zip |
do not generate device token if 2FA is enable for user
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Authentication/Token/DefaultTokenCleanupJob.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php index 04b98c6c5a0..7746d6be915 100644 --- a/lib/private/Authentication/Token/DefaultTokenCleanupJob.php +++ b/lib/private/Authentication/Token/DefaultTokenCleanupJob.php @@ -28,6 +28,7 @@ class DefaultTokenCleanupJob extends Job { protected function run($argument) { /* @var $provider DefaultTokenProvider */ + // TODO: add OC\Authentication\Token\IProvider::invalidateOldTokens and query interface $provider = OC::$server->query('OC\Authentication\Token\DefaultTokenProvider'); $provider->invalidateOldTokens(); } |