Redirect correctly after first time plugin setup

Created on 20 November 2024, 5 months ago

Problem/Motivation

When the TOTP plugin is setup for the first time, the form doesn't get correctly redirected to the TFA overview form. This is because Form API doesn't see the redirect response. This leaves the visitor confused, like the TFA hasn't been setup correctly.

Steps to reproduce

Setup TFA TOTP for the first time.

Proposed resolution

Add a redirect response to the submit form.

Remaining tasks

Review and commit patch.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Dubs

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024