Skip to content

problem when logout ...  #6

Open
@acharmat

Description

@acharmat

hello,
i updated my code to version 4

but when i call the method logout in form

`
logout

            <form id="logout-form" action="{{ route('admin.logout') }}" method="POST" style="display: none;">
              {{ csrf_field() }}
            </form>

i get this error : MethodNotAllowedHttpException in RouteCollection.php line 233

the method work fine if i call the link from browser ....

==> localhost/enseigant/logout

`

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