VerifyCsrfToken.php 471 B

12345678910111213141516171819202122
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
  4. class VerifyCsrfToken extends Middleware
  5. {
  6. /**
  7. * The URIs that should be excluded from CSRF verification.
  8. *
  9. * @var array
  10. */
  11. protected $except = [
  12. 'person/memberInfo/upload/head',
  13. 'auth/register/check/*',
  14. 'auth/gt/init',
  15. 'common/sms/send',
  16. 'api/checkuser',
  17. 'auth/login/sms'
  18. ];
  19. }