Project

General

Profile

Actions

Patch #35372

closed

Better presentation for 2FA recovery codes

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

Related to Redmine - Feature #1237: Add support for two-factor authenticationClosedGo MAEDA2008-05-14

Actions
Actions

Also available in: Atom PDF