cesargb / laravel-magiclink

Create link for authenticate in Laravel without password or get private content
MIT License
359 stars 43 forks source link

Error after publishing magiclink config file #20

Closed agmaxwellh closed 4 years ago

agmaxwellh commented 4 years ago

After publishing the config file magiclink laravel throws an exception Illuminate \ Contracts \ Container \ BindingResolutionException Target class [view] does not exist..

I were able to resolve it by changing the response error to a string instead of a response function or view in config/magiclink.php:51

I used a fresh installation of laravel 7.6.2 using PHP version 7.4.5 on Ubuntu 18.04 LTS

cesargb commented 4 years ago

Hello @laquanmax, thanks for your issue. I think that in this moment the best solution is remove this option.

cesargb commented 4 years ago

Fix this issue in v2.2.2