owncloud / twofactor_totp

🔑 Second factor TOTP (Google Authenticator) provider for ownCloud
GNU Affero General Public License v3.0
9 stars 9 forks source link

Add command for deleting redundant secrets #133

Closed boyrazs15 closed 5 years ago

boyrazs15 commented 5 years ago

Resolves #110

This PR adds a command for deleting non-existing users secret.

codecov[bot] commented 5 years ago

Codecov Report

Merging #133 into master will increase coverage by 3.18%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #133      +/-   ##
============================================
+ Coverage     64.68%   67.87%   +3.18%     
- Complexity       61       67       +6     
============================================
  Files            13       14       +1     
  Lines           252      277      +25     
============================================
+ Hits            163      188      +25     
  Misses           89       89
Impacted Files Coverage Δ Complexity Δ
lib/Db/TotpSecretMapper.php 100% <100%> (ø) 6 <1> (+1) :arrow_up:
lib/Command/DeleteRedundantSecretsCommand.php 100% <100%> (ø) 5 <5> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 47aff5b...c1efce3. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #133 into master will increase coverage by 3.18%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #133      +/-   ##
============================================
+ Coverage     64.68%   67.87%   +3.18%     
- Complexity       61       67       +6     
============================================
  Files            13       14       +1     
  Lines           252      277      +25     
============================================
+ Hits            163      188      +25     
  Misses           89       89
Impacted Files Coverage Δ Complexity Δ
lib/Db/TotpSecretMapper.php 100% <100%> (ø) 6 <1> (+1) :arrow_up:
lib/Command/DeleteRedundantSecretsCommand.php 100% <100%> (ø) 5 <5> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 47aff5b...c1efce3. Read the comment docs.