Project

General

Profile

Actions

Patch #35372

closed

Better presentation for 2FA recovery codes

Patch #35372: Better presentation for 2FA recovery codes

Added by Felix Schäfer over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:

Description

The following patch makes the recovery codes a little bigger and avoids using `float` to present them in 2 columns. It also improves how some browsers will copy the list, before some browsers would copy the whole list as a long string of all recovery keys concatenated without spaces between individual keys:

```
XXXX XXXX XXXXXXXX XXXX XXXXXXXX XXXX XXXX…
```

After the change the browser understands the list better and copies it as a newline-separated list of keys:

```
XXXX XXXX XXXX
XXXX XXXX XXXX
XXXX XXXX XXXX
…
```

The new presentation is also more responsive and will reflow correctly on narrow screens.


Files

before.png (24.6 KB) before.png Felix Schäfer, 2021-06-08 11:27
after.png (43.9 KB) after.png Felix Schäfer, 2021-06-08 11:27
35372.patch (838 Bytes) 35372.patch Felix Schäfer, 2021-06-08 11:33

Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #1237: Add support for two-factor authenticationClosedGo MAEDAActions

Updated by Felix Schäfer over 5 years ago Actions #1

Updated by Go MAEDA over 5 years ago Actions #2

  • Target version set to 5.0.0

Setting the target version to 5.0.0.

Updated by Marius BĂLTEANU over 5 years ago Actions #3

  • Related to Feature #1237: Add support for two-factor authentication added

Updated by Go MAEDA over 5 years ago Actions #4

  • Category changed from UI to Accounts / authentication
  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you.

Updated by Marius BĂLTEANU over 5 years ago Actions #5

Go Maeda, do you see any problem if we deliver this in 4.2.2? Being an improvement of a new feature of 4.2.0.

Updated by Go MAEDA over 5 years ago Actions #6

  • Status changed from Closed to Resolved
  • Target version changed from 5.0.0 to 4.2.2

Marius BALTEANU wrote:

Go Maeda, do you see any problem if we deliver this in 4.2.2? Being an improvement of a new feature of 4.2.0.

I didn't backport this fix to 4.2-stable because I thought very few people are currently bothered by the issue, but I think it is OK to include it in 4.2.2.

Updated by Go MAEDA over 5 years ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom