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

'boot' in a ServiceProvider gets called twice #998

edalzell opened this Issue Sep 29, 2016 · 0 comments


None yet
2 participants

edalzell commented Sep 29, 2016

Expected behaviour

Method gets called once

Actual behaviour

Method gets called twice

Steps to reproduce

  1. Create a ServiceProvider with the following:
    public function boot()
        $excludes = Config::get('system.csrf_exclude', []);
        $excludes[] = '!\Contest\entries';
        Config::set('system.csrf_exclude', $excludes);
  1. Call addon so ServiceProvider is loaded
  2. Check your settings

You'll see 2 entries under carr_excludes, not one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment