-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lg 15251 avoid linking email address #11717
base: main
Are you sure you want to change the base?
Changes from all commits
67ffa13
1cf573d
b5c52d2
3348e2a
321b9c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,11 @@ def friendly_name | |
sp_metadata[:friendly_name] | ||
end | ||
|
||
def all_email_and_single_email_requested? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is the behavior we're expecting. A partner would only request either |
||
service_provider_record&.attribute_bundle&.include?('all_email') && | ||
service_provider_record&.attribute_bundle.include?('email') | ||
end | ||
|
||
def service_provider_id | ||
service_provider_record&.id | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no attribute
all_email
. This should beall_emails
.https://developers.login.gov/attributes/