V8-archive: Problems with pw reset link

Created on 10 Dec 2019  路  3Comments  路  Source: directus/v8-archive

Bug Report

Steps to Reproduce

  1. Request pw reset
  2. Click pw reset link in mail
  3. Browser opens a new tab/window and dispklays admin login (and also the url gets redirected to /admin/#/login.

Expected Behavior

Browser opens displays input field for new pw.

Actual Behavior

Browser shows admin login at first. If I paste the reset url in the adress bar a second time, the right view is shown. There's probably a problem with the Vue routes when the url is loaded initially.

Technical Details

This is also reproducable with the Directus demo, f.e. https://demo.directus.io/admin/#/reset-password?token=novalidtokenneededatthatpoint

  • Device: any
  • OS: MacOS 10.14.X, iOS 13.2.
  • Browser: Safari, Chrome
  • Directus Release Version: v8.2.0
app

Most helpful comment

I have the same issue here. I think not being able to reset a password deserves better than medium priority.

All 3 comments

I have the same issue here. I think not being able to reset a password deserves better than medium priority.

Has this been resolved? Having the same issue.

I have the same issue and can reproduce it on several browsers, users and environments (local, testing). I can also confirm that the user is redirected from password reset page to login page.

If you end that way on the login page, it's possible to use browsers back-button to eventually reach the password reset page.

I'm not sure what it means, but maybe it helps tracking the issue.
I changed vendor/slim/slim/Slim/App.php and added an echo. git diff:
--- a/vendor/slim/slim/Slim/App.php +++ b/vendor/slim/slim/Slim/App.php @@ -300,7 +300,7 @@ class App } finally { $output = ob_get_clean(); } - +echo "TEST"; if (!empty($output) && $response->getBody()->isWritable()) { $outputBuffering = $this->container->get('settings')['outputBuffering']; if ($outputBuffering === 'prepend') {

What happend now is that the password reset page appeared and the redirect to the login page not anymore. I guess that's because an error caused with that change.
The password reset was not successful and pretty much anything didn't worked anymore. Uuups.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cdwmhcc picture cdwmhcc  路  3Comments

vuhrmeister picture vuhrmeister  路  3Comments

Varulv1997 picture Varulv1997  路  3Comments

cdwmhcc picture cdwmhcc  路  3Comments

24js picture 24js  路  3Comments