antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 163 forks source link

How to get Slack notifications working #138

Closed jordanade closed 5 years ago

jordanade commented 5 years ago

When you say "add the route notification method to your user model" referring to the code below,, what does this mean? I don't have a user model. Where can I add this code?

/**
 * Route notifications for the Slack channel.
 *
 * @return string
 */
public function routeNotificationForSlack()
{
    return config('services.slack.webhook_url');
}
jordanade commented 5 years ago

Nevermind, it seems to be working even without the above code.