Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RememberMeBadge in remember Me Functionality #16149

Closed
Labels
Securityhelp wantedIssues and PRs which are looking for volunteers to complete them.
@avieville

Description

@avieville

Hello,

I followed the documentation to set up the remember me functionality and the remember me cookie is not created during authentication if in addition I do not add 'new RememberMeBadge ()' in the authenticate function of the AppCustomAuthenticator .

publicfunctionauthenticate(Request$request):PassportInterface{$email =$request->request->get('email','');$request->getSession()->set(Security::LAST_USERNAME,$email);returnnewPassport(newUserBadge($email),newPasswordCredentials($request->request->get('password','')),        [newCsrfTokenBadge('authenticate',$request->request->get('_csrf_token')),newRememberMeBadge()        ]    );}

thank you for your feedback and your actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Securityhelp wantedIssues and PRs which are looking for volunteers to complete them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp