Skip to content

user: Use either capitalisation for email attr#23

Merged
awilfox merged 1 commit intomainfrom
awilfox/AP-583-email-attr
Feb 18, 2026
Merged

user: Use either capitalisation for email attr#23
awilfox merged 1 commit intomainfrom
awilfox/AP-583-email-attr

Conversation

@awilfox
Copy link
Member

@awilfox awilfox commented Feb 18, 2026

It looks like CalNet may be sending either capitalisation for the email attribute, as sometimes users have emails set and other times they don't (even the same user).

Ref: AP-583


Note that I don't have any confirmation of this, because we aren't logging CalNet responses. But considering "sometimes" we get email addresses and "sometimes" we don't, and we had the same "sometimes" before the capitalisation change I made, this is the logical next step towards debugging this issue.

It looks like CalNet may be sending *either* capitalisation for the
email attribute, as sometimes users have emails set and other times
they don't (even the same user).

Ref: AP-583
@awilfox awilfox force-pushed the awilfox/AP-583-email-attr branch from 1629ff9 to 168a538 Compare February 18, 2026 01:13
@awilfox
Copy link
Member Author

awilfox commented Feb 18, 2026

v2: Appease Rubocop (disable Metrics/AbcSize on User#auth_params_from).

Copy link
Member

@anarchivist anarchivist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+. thanks for digging into this!

@awilfox awilfox merged commit 168a538 into main Feb 18, 2026
5 checks passed
@awilfox awilfox deleted the awilfox/AP-583-email-attr branch February 18, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments