• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jwag956 / flask-security / 497 / 8
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2019 04:00PM UTC
Files 25
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Dec 2019 03:50PM UTC coverage: 96.852% (-0.1%) from 96.956%
REQUIREMENTS=release

push

travis-ci

web-flow
Two-factor refactoring. (#241)

Pull out totp code into separate class and make that class settable as part
of initial app config.
Add stubs for getting and setting the last_counter so folks can easily add
replay-attack protection.

Also - this will be part of the new passwordless implementation - so wanted
these pieces reusable.

Add calc_username() to UserMixin which calculates an appropriate username based on
the IDENTITY_ATTRIBUTES. This is useful in forms, urls etc (and came from
the recent PR to fix the two-factor qrcode URI).
Modify the twofactor email templates to use this rather than assuming that
all user models have 'username'.

Very minor improvements to localization of some fields in 2FA forms - the submit
buttons label should come from the form definition - not be hard-coded (english).

2215 of 2287 relevant lines covered (96.85%)

0.97 hits per line

Source Files on job 497.8 (REQUIREMENTS=release)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 458
  • Travis Job 497.8
  • 9b2d86ab on github
  • Prev Job for REQUIREMENTS=release on master (#494.8)
  • Next Job for REQUIREMENTS=release on master (#504.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc