lundi 25 janvier 2016

how to reset password in laravel 5

i'm following tutorials trying to reset my password but it doesn't to even open the view in the browser , that's my route :

Route::get('password/email','Auth\PasswordController@getEmail');
Route::post('password/email','Auth\PasswordController@postEmail');

Route::get('password/reset/{token}','Auth\PasswordController@getReset');
Route::post('password/reset','Auth\PasswordController@postReset');

and that's my view

<form  method="post" action="password/email" enctype="multipart/form-code">
     {!! csrf_field() !!}
     <table class="table" style="width:50%; margin:0 auto;">

        <tr>
            <td colspan="2">
                <h1 class="well text-center">Reset Password Form</h1>
            </td>
        </tr>
        <tr>
            <td>
            Email:<input type="email" name="email" value="{{old('email')}}" />
            </td>
        </tr>
        <tr>
            <td>
                <button type="submit" class="btn btn-default">Send Password</button>
            </td>
        </tr>
     </table>

     </form>

can anyone help me please ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire