user:reset_password_form badness

Folks, I'm having trouble with password resets. This is my view:

{{ user:reset_password_form }}

{{ if success }}
    <div class="success-header">
        <p>Hooray. Your password has been reset so you can now head to the <a href="/login">login page</a> and try it out.</p>
    </div> 


{{ elseif url_invalid }}

    <div class="error-header">
        <p>This reset URL is invalid. Go <a href="/">home</a>.</p>
    </div>

{{ else }}

    <fieldset>
        {{ if error:email }}
            <span class="error">{{error:email}}</span>
        {{ /if }}
        <legend>EMail Address</legend>
        <input type="text" name="email" />
    </fieldset>

    <fieldset>
        {{ if error:password }}
            <span class="error">{{error:password}}</span>
        {{ /if }}
        <legend>New Password</legend>
        <input type="password" name="password" />
    </fieldset>

    <fieldset>
        {{ if error:password_confirmation }}
            <span class="error">{{error:password_confirmation}}</span>
        {{ /if }}
        <legend>Please Confirm Your New Password</legend>
        <input type="password" name="password_confirmation" />
    </fieldset>

    <button type="submit" class="btn btn-primary">Save</button>

{{ /if }}

{{ /user:reset_password_form }}

Whatever text I type into the boxes the form just re-directs to the home page. No errors in laravel.log.

What am I doing wrong?

Answered by Jack McDade!
>>>>>>> Answered <<<<<<<
3 Replies
2 Followers