Issue 1940: Off-By-One Getting Email Domain When Checking openIdDomain
Status:  New
Owner: ----
Reported by jt...@evernote.com, May 29, 2013
Affected Version:

2.6-rc3

What steps will reproduce the problem?
1. Configure auth.type to either "OPENID" or "OPENID_SSO"
2. Configure auth.openIdDomain to a non-empty value (e.g. "evernote.com").
3. Attempt to sign in via. OpenID account with an email address in the configured domain.

Expected: Registration/sign in is successful

Observed: Registration/sing in fails. The logged error contains an extra '@' at the beginning of the domain:

  [2013-05-29 14:02:48,323] ERROR com.google.gerrit.httpd.auth.openid.OpenIdServiceImpl : Domain disallowed: @evernote.com