diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-06-06 15:09:42 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-06-07 09:09:51 +0200 |
commit | 8f7a4aaa4d839600ffc4b15b8e67c07101f5e9c9 (patch) | |
tree | 6c4926ed6c350967dcedeb43c589791beb89261f /lib/private/Authentication/Token | |
parent | f28f6ad2df59b8faa9589bffbc9d2c53b03a2840 (diff) | |
download | nextcloud-server-8f7a4aaa4d839600ffc4b15b8e67c07101f5e9c9.tar.gz nextcloud-server-8f7a4aaa4d839600ffc4b15b8e67c07101f5e9c9.zip |
do not generate device token if 2FA is enable for user
Diffstat (limited to 'lib/private/Authentication/Token')
-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(); } |