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

supabase / gotrue / 7324090944 / 1
65%
master: 65%

Build:
DEFAULT BRANCH: master
Ran 25 Dec 2023 08:17PM UTC
Files 114
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

25 Dec 2023 08:12PM UTC coverage: 65.147% (+0.003%) from 65.144%
7324090944.1

push

github

web-flow
fix: sanitizeUser leaks user role (#1366)

## What kind of change does this PR introduce?

Fixes #1365 

## What is the current behavior?

An existing user's role in `sanitizeUser` does not get sanitized and is
revealed when a new user tries to signup with the same email.

## What is the new behavior?

The existing user's role is sanitized to an empty string to avoid
revealing the information.

Previous Behavior:

![image](https://github.com/supabase/gotrue/assets/50147457/de5c55c6-af22-4849-85c8-c5c91b2c9361)


Fixed Behavior:

![image](https://github.com/supabase/gotrue/assets/50147457/ffeebb55-61d0-4081-99ba-4dc343104de1)

7929 of 12171 relevant lines covered (65.15%)

55.19 hits per line

Source Files on job 7324090944.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7324090944
  • 8ce9d3f7 on github
  • Prev Job for on master (#7289316861.1)
  • Next Job for on master (#7328003812.1)
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