Skip to content

Commit

Permalink
Manage subscribtion
Browse files Browse the repository at this point in the history
Existing subscription user should be able to manage his setting without considering if he is allowed to subscribe or not.
  • Loading branch information
AntonioKL committed Jan 19, 2019
1 parent 123d24d commit 4747014
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Http/Middleware/SubscribersConfigured.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ public function __construct(Repository $config)
*/
public function handle(Request $request, Closure $next)
{
if (!$this->config->get('setting.enable_subscribers')) {
return cachet_redirect('status-page');
}

return $next($request);
}
}

0 comments on commit 4747014

Please sign in to comment.