Php 使用带有默认laravel 5注册的模式
我尝试使用默认的laravel 5注册/验证模式,而不是视图 但如果用户未插入数据库,则无法正常工作。 这是密码Php 使用带有默认laravel 5注册的模式,php,laravel-5,bootstrap-modal,Php,Laravel 5,Bootstrap Modal,我尝试使用默认的laravel 5注册/验证模式,而不是视图 但如果用户未插入数据库,则无法正常工作。 这是密码 <div id="id01" class="modal"> <span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span> <form class="modal-content
<div id="id01" class="modal">
<span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
<form class="modal-content animate" action="/SurveyApp/public/accueil">
{{ csrf_field() }}
<div class="container">
<h2>Registration</h2>
<label><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="name" required>
<label><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" required>
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="password" required>
<input type="checkbox" checked="checked"> Remember me
<p>By creating an account you agree to our <a href="#">Terms & Privacy</a>.</p>
<div class="clearfix">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Cancel</button>
<button type="submit" class="signupbtn">Sign Up</button>
</div>
</div>
</form>
</div>
你能告诉我有什么问题吗?
感谢您的帮助。在表单元素中设置
method=POST
。将此行更改,并将此操作的method=“POST=”/SurveyApp/public/acueil”设置为action=“/acueil”,添加method=POST后,我将此错误参数1传递给App\Http\Controllers\Auth\RegisterController::create(),类型必须为数组,没有给出
Route::post('/accueil', 'Auth\RegisterController@create');