Skip to content

Account module infinite redirect with two factor challenge page #32059

@PVince81

Description

@PVince81

Steps

  1. Enable password_policy app
  2. Enable twofactor_email app (the dummy challenge is "passme")
  3. Login as admin
  4. Create a user "user1"
  5. Login as that user (challenge is "passme")
  6. Log out
  7. Expire the user's password with occ user:expire-password user1
  8. Login as "user1"

Expected result

Challenge page appears, after entering challenge the password expiry page appears.

Actual result

Infinite redirect cancelled by browser.

Version

ownCloud 10.0.9 + password_policy 2.0.0 + twofactor_email 0.0.1 (git)

There is a conflict between both pages wanting to appear after login.
A proposed solution is in PR #32058 to whitelist the two factor challenge page within the account module middleware.

@butonic

Metadata

Metadata

Assignees

Labels

Type:Bugp2-highEscalation, on top of current planning, release blocker

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions