Skip to content

Error while preparing PasswordResetResponse with views turned off (need to set views and routes in customized way) #432

Closed
@leonkllr0

Description

@leonkllr0
  • Fortify Version: 1.14.1
  • Laravel Version: 9.45.1
  • PHP Version: 8.2.0
  • Database Driver & Version: mysql / 8.0.31

Description:

In class PasswordResetResponse:39 while preparing Fortify::redirects($redirect, $default) method parameters, there are issue with second parameter preparation.
For example if i set views attribute to false at configuration file, then there are no GET route with name 'login'.
This fires an error:
image

And even if I prepare redirects attribute to work correctly I cannot went through this issue, anyway I need to create dummy route with name login to fix this issue temporary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions