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

kobotoolbox / kpi / 13135984467
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1497-show-most-recently-created-qual-answer
DEFAULT BRANCH: master
Ran 04 Feb 2025 01:36PM UTC
Jobs 1
Files 625
Run time 1min
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

04 Feb 2025 12:58PM UTC coverage: 80.588% (+0.01%) from 80.575%
13135984467

push

github

web-flow
fix(SSO): only allow SSO email when registering TASK-1493 (#5478)

### đŸ“Ŗ Summary
Do not allow SSO users to register with a different email then the one
provided by the server.


### 📖 Description
Make the `email` field readonly when creating an account with SSO.


### 💭 Notes
This was originally a setting, but we've decided we want the field to
always be read-only. In addition to the UI change, this PR also adds a
validator on the email field to make sure that no one can register with
a different email via a clever POST request. The error message will
require translation.
This should also fix TASK-1493.

### 👀 Preview steps

Bug template:
1. â„šī¸ Enable Kobo Google Apps SSO
2. On the login page, click `Create an account` -> `Register with SSO`
-> `Log In`
3. Sign in to your Google account
4. 🔴 [on main] Change the email field in the registration form and click
'Register and Save'
5. :red_circle: [on main] Go to Account Settings -> Security. Under the
email address you'll see "Check your email <new_email>. A verification
link has been sent to confirm your ownership. Once confirmed, this
address will replace <correct_email>"
6. đŸŸĸ [on PR] The email field is read-only

5928 of 9467 branches covered (62.62%)

8 of 8 new or added lines in 1 file covered. (100.0%)

22600 of 28044 relevant lines covered (80.59%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13135984467.1 04 Feb 2025 01:36PM UTC 625
80.59
Source Files on build 13135984467
  • Tree
  • List 625
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b7e79874 on github
  • Prev Build on main (#13123995873)
  • Next Build on main (#13136073837)
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

© 2025 Coveralls, Inc