-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Added option to skip subscriber verification #1993
Conversation
* | ||
* @var \Illuminate\Contracts\Config\Repository | ||
*/ | ||
protected $config; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should never need to read config from inside handlers.
I think we can do this at the controller, just use the config here https://github.com/CachetHQ/Cachet/blob/2.3/app/Http/Controllers/SubscribeController.php#L61 what do you think? |
[ci skip] [skip ci]
Also, this implementation was broken with the API before. :P |
This is not pretty, but I think a bit better now. What do you think? |
@jbrooksuk or @joecohens merge if you're happy with this. :) |
Closes #1990
Ping @joecohens