Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

First stab at updating cert_key and adding complete_transition wsapis #2709

Merged

Conversation

ozten
Copy link
Contributor

@ozten ozten commented Nov 13, 2012

Fixes Issue #2678

To avoid duplicating a regex, I've added a new wrapper function checkEmailSupport which delegates to the existing checkSupport. A change in behavior is that during errors we log the full email address instead of the domain, not sure if that is kosher.

@@ -86,6 +86,7 @@ exports.onReady = function(f) {
'isStaged',
'lastStaged',
'listEmails',
'emailLastUsedAs', // TEMPORARY
Copy link
Contributor

Choose a reason for hiding this comment

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

what does "TEMPORARY" mean?

ozten added a commit that referenced this pull request Nov 13, 2012
First stab at updating cert_key and adding complete_transition wsapis
@ozten ozten merged commit fe194fd into mozilla:primary-transition-ux Nov 13, 2012
@@ -260,6 +260,7 @@ exports.checkSupport = function(principalDomain, cb) {
});
};

exports.emailRegex = /\@(.*)$/;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lloyd @seanmonstar this gets ride of logging email addresses and keeps regex reusable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants