Please i created a login form for my forum website but i got this error while trying to submit ** (View: /Applications/XAMPP/xamppfiles/htdocs/laravel-forum-master-3/resources/views/auth/login.blade.php)** and also if i didn't check the remember me botton it will give me a reply of invalid credentials
below is my code in login.blade.php
<form action="" method="post" id="login">
@if(!empty(app('request')->input('redirectTo')))
<input type="hidden" name="redirectTo" value="" />
@endif
<div class="panel">
<div class="inner">
<div class="content">
<h2 class="login-title">Login</h2>
<fieldset class="fields1">
<dl>
<dt><label for="email">Email address:</label></dt>
<dd>
<input type="text" name="email" id="email" size="25" value="" class="inputbox autowidth" />
@if ($errors->has('email'))
<br /><span class="error"></span>
@endif
</dd>
</dl>
<dl>
<dt><label for="password">Password:</label></dt>
<dd>
<input type="password" id="password" name="password" size="25" class="inputbox autowidth" autocomplete="off" />
@if ($errors->has('password'))
<br /><span class="error"></span>
@endif
</dd>
<dd><a href="">I forgot my password</a></dd>
</dl>
<dl>
<dd><label for="autologin"><input type="checkbox" name="remember" id="autologin" /> Remember me</label></dd>
</dl>
<dl>
<dt> </dt>
<dd><input type="submit" name="login" value="Login" class="button1" /></dd>
</dl>
</fieldset>
</div>
</div>
</div>
<div class="panel">
<div class="inner">
<div class="content">
<h3>Register</h3>
<p>In order to login you must be registered. Registering takes only a few moments but gives you increased capabilities.</p>
<hr class="dashed" />
<p><a href="" class="button2">Register</a></p>
</div>
</div>
</div>
</form>
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3sk3U7V
via IFTTT
Aucun commentaire:
Enregistrer un commentaire