fix parseSubject
This commit is contained in:
parent
6225b1e2fe
commit
fcca994c65
|
@ -1299,10 +1299,10 @@
|
||||||
// The username may have a single @, the provider may not
|
// The username may have a single @, the provider may not
|
||||||
// user@thing.com@whatever.com -> user@thing.com, whatever.com
|
// user@thing.com@whatever.com -> user@thing.com, whatever.com
|
||||||
issuer = parts.pop();
|
issuer = parts.pop();
|
||||||
subject = parts.join('');
|
subject = parts.join('@');
|
||||||
} else {
|
} else {
|
||||||
//subject = '';
|
//subject = '';
|
||||||
issuer = parts.join('');
|
issuer = parts.join('@');
|
||||||
}
|
}
|
||||||
|
|
||||||
return { subject: subject, issuer: issuer };
|
return { subject: subject, issuer: issuer };
|
||||||
|
|
Loading…
Reference in New Issue