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

Flask-Middleware / flask-security / 691
98%

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2020 11:15PM UTC
Jobs 1
Files 27
Run time 6s
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
691

push

travis-ci

web-flow
Revamp how USER_IDENTITY_ATTRIBUTES is configured and used. (#349)

Aka - get rid of get_user.

Now, when looking up a user by identity attribute (such as in login, cli), FS will loop through each configured USER_IDENTITY_ATTRIBUTE and calling a mapping function which determines whether the input value is valid for that attribute - then the usermodel.find_user is called with the matching attribute name and value. This paradigm was introduced in 3.4 as part of Unified Sign In - and now is in use everywhere.

removing usermodel.get_user resolves a lot of historic issues with DBs and ORMs really not liking querying on different type entities.

Fix/enhance CLI so that you can create a user with multiple identity attributes (before the same value was set to all identity attributes).

N.B. with this PR - there is a regression with registration as noted in CHANGES.rst

closes: #337

2818 of 2896 relevant lines covered (97.31%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
4 691.4 (REQUIREMENTS=release) 22 Jun 2020 11:15PM UTC 0
97.31
Travis Job 691.4
Source Files on build 691
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #691
  • 61282622 on github
  • Prev Build on master (#688)
  • Next Build on master (#694)
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