Patch #35372

Better presentation for 2FA recovery codes

Added by Felix Schäfer 6 days ago. Updated about 8 hours ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Accounts / authentication
Target version:5.0.0

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.

before.png (24.6 KB) Felix Schäfer, 2021-06-08 11:27

after.png (43.9 KB) Felix Schäfer, 2021-06-08 11:27

35372.patch Magnifier (838 Bytes) Felix Schäfer, 2021-06-08 11:33


Related issues

Related to Redmine - Feature #1237: Add support for two-factor authentication Closed 2008-05-14

Associated revisions

Revision 21032
Added by Go MAEDA about 8 hours ago

Better presentation for 2FA recovery codes (#35372).

Patch by Felix Schäfer.

History

#1 Updated by Felix Schäfer 6 days ago

#2 Updated by Go MAEDA 5 days ago

  • Target version set to 5.0.0

Setting the target version to 5.0.0.

#3 Updated by Marius BALTEANU 5 days ago

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

#4 Updated by Go MAEDA about 8 hours ago

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

Committed the patch. Thank you.

Also available in: Atom PDF