Skip to content

Conversation

haarg
Copy link
Member

@haarg haarg commented Mar 19, 2017

Logging in as a user that didn't have a PAUSE account connected was
working, but the code to fetch the favorites list (which controls the
login menu) wasn't interpreting that correctly. The favorites code was
checking for a "profile", which only exists for PAUSE users.

Instead, use the normal authentication routines and the resulting user
object.

Fixes #1819

Logging in as a user that didn't have a PAUSE account connected was
working, but the code to fetch the favorites list (which controls the
login menu) wasn't interpreting that correctly.  The favorites code was
checking for a "profile", which only exists for PAUSE users.

Instead, use the normal authentication routines and the resulting user
object.
@sergeykolychev
Copy link

@haarg I believe do have pause account associated with my profile, so this is probably not a root of the problem.

@sergeykolychev
Copy link

@haarg The fix is definitely correct one. Though I had my pause account associated with my metacpan account something was wrong in this association, unlinking my pause account and linking it again seem to have fixed the login to the site for me.

@coveralls
Copy link

coveralls commented Mar 20, 2017

Coverage Status

Coverage remained the same at 69.5% when pulling e540d82 on fix-non-pause-login into 35a1230 on master.

@oalders oalders merged commit c45fd55 into master Mar 20, 2017
@oalders oalders deleted the fix-non-pause-login branch March 20, 2017 03:47
@oalders
Copy link
Member

oalders commented Mar 20, 2017

@sergeykolychev and @haarg thanks very much to both of you for getting this sorted!

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.

4 participants