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

fix: Enabled configuration for self-service strategies #470

Merged
merged 2 commits into from
Jun 8, 2020

Conversation

gmazzamuto
Copy link
Contributor

Related issue

Fixes #417

Proposed changes

Checklist

  • I have read the contributing guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further comments

@aeneasr
Copy link
Member

aeneasr commented Jun 4, 2020

Tests probably fail because the strategy is not properly enabled for specific tests!

@gmazzamuto gmazzamuto force-pushed the self-service-enabled branch from c0cf237 to 466646a Compare June 6, 2020 21:07
A new testhelper function was needed, to defer route registration
(because whether strategies are enabled or not is determined only once:
at route registration)
@gmazzamuto
Copy link
Contributor Author

I fixed the tests, thanks for your input!

@aeneasr
Copy link
Member

aeneasr commented Jun 8, 2020

Awesome, thank you!

@aeneasr aeneasr merged commit b198faf into ory:master Jun 8, 2020
@gmazzamuto gmazzamuto deleted the self-service-enabled branch June 13, 2020 15:51
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.

Enabled configuration for self-service strategies does not have an effect
2 participants