Skip to content

Use javascript to send the actual password reset - #7576

Merged
blizzz merged 1 commit into
masterfrom
fix_7574
Dec 19, 2017
Merged

Use javascript to send the actual password reset#7576
blizzz merged 1 commit into
masterfrom
fix_7574

Conversation

@rullzer

Copy link
Copy Markdown
Member

Fixes#7574

During some refactoring the event linked to password reset got removed.
This ment that we just submitted a normal POST but without the CSRF
token. And none of the js magic to redirect afterwards.

To test:

  1. Click forgot password so you get an e-mail with a reset link
  2. Open link
  3. Fill in new password

Before:
💥

Now:
Proper redirect to the login page again.

Fixes#7574
During some refactoring the event linked to password reset got removed.
This ment that we just submitted a normal POST but without the CSRF
token. And none of the js magic to redirect afterwards.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@codecov

codecovBot commented Dec 19, 2017

Copy link
Copy Markdown

Codecov Report

Merging #7576 into master will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #7576 +/- ##
=========================================
Coverage 51.16% 51.16% Complexity 24883 24883 =========================================
Files 1602 1602 Lines 94730 94730 Branches 1368 1368 =========================================
Hits 48470 48470 Misses 46260 46260
Impacted FilesCoverage ΔComplexity Δ
apps/files_trashbin/lib/Expiration.php90.32% <0%> (-1.62%)29% <0%> (ø)
apps/files_trashbin/lib/Trashbin.php72.53% <0%> (+0.24%)136% <0%> (ø)⬇️

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and makes sense.

@blizzzblizzz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works even

@blizzz
blizzz merged commit b6fcf59 into masterDec 19, 2017
@blizzz
blizzz deleted the fix_7574 branch December 19, 2017 17:05
@MorrisJobkeMorrisJobke mentioned this pull request Jan 2, 2018
30 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugregression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@blizzz@skjnldsv