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

jwag956 / flask-security / 497
97%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2019 04:00PM UTC
Jobs 1
Files 25
Run time 3s
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

pending completion
497

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

Jobs
ID Job ID Ran Files Coverage
8 497.8 (REQUIREMENTS=release) 20 Dec 2019 04:00PM UTC 0
96.85
Travis Job 497.8
Source Files on build 497
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #497
  • 9b2d86ab on github
  • Prev Build on master (#494)
  • Next Build on master (#504)
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