Skip to content

[Bug] $errors->first('attribute') doesn't contain any value #85

Closed
@lembubintik

Description

@lembubintik

At first it was working fine the validation errors was passed to the view. Ater updating the laravel framework errors are not showing.

from my controller

return Redirect::route('login')->withErrors($validator);

from my view

{{ $errors->first('password', '<p>:message</p>') }}

I can see that the error is there but it does not pass to the view

if ($validator->fails())
{
    echo $validator->errors()->first('email');exit();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions