Browse Source

兼容laravel5

jqh 5 years ago
parent
commit
68673523cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/pages/login.blade.php

+ 1 - 1
resources/views/pages/login.blade.php

@@ -29,7 +29,7 @@
 
                 <form id="login-form" method="POST" action="{{ admin_url('auth/login') }}">
 
-                    @csrf
+                    <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
 
                     <fieldset class="form-label-group form-group position-relative has-icon-left">
                         <input