In drupalorg, I copied some code that checks init to see if an account is bakery-synced. This recently broke a little because https sometimes snuck into init. http://drupalcode.org/project/drupalorg.git/commitdiff/1a3570e?hp=aee55c... is the change I made to fix that. Assuming https is really okay, and not the symptom of another bug, I'd like to see a function for this.

Comments

coltrane’s picture

We could ignore the protocol (or at least 's') when checking init. I can see an issue if a master is available (but not forced) over SSL that a user would get their init set that way.

coltrane’s picture

#1338004: Do not store master protocol in init to better support mixed SSL domains is handling the protocol part but perhaps there could be a function for returning TRUE/FALSE if a user is "Bakery managed".

drumm’s picture

Status: Active » Closed (won't fix)