Skip to content
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

Add AUTH var substitutions to pingback/login URLs. #1456

Merged
merged 1 commit into from
Jan 19, 2016

Conversation

dvoytenko
Copy link
Contributor

No description provided.

@@ -515,7 +537,7 @@ export class AccessService {
log.fine(TAG, 'Ignore pingback');
return Promise.resolve();
}
return this.buildUrl_(this.config_.pingback).then(url => {
return this.buildUrl_(this.config_.pingback, true).then(url => {
Copy link
Member

Choose a reason for hiding this comment

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

Add comment for boolean flag name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@dvoytenko
Copy link
Contributor Author

@cramforce PTAL

// Value 0 is specialcased because the numeric 0 is a valid substitution
// value.
if (!val && val !== 0) {
if (val === null || val === undefined) {
Copy link
Member

Choose a reason for hiding this comment

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

val == null
does both

@cramforce
Copy link
Member

LGTM

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