Skip to content

Commit 5ea0204

Browse files
committed
Use monospaced font when printing twofactor backup codes.
This helps differentiating similar characters like "I" / "1". Signed-off-by: Joachim Bauch <[email protected]>
1 parent b1b2378 commit 5ea0204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function print (data) {
22
const newTab = window.open('', t('twofactor_backupcodes', 'Nextcloud backup codes'));
33
newTab.document.write('<h1>' + t('twofactor_backupcodes', 'Nextcloud backup codes') + '</h1>');
4-
newTab.document.write(data);
4+
newTab.document.write('<pre>' + data + '</pre>');
55
newTab.print();
66
newTab.close();
77
}

0 commit comments

Comments
 (0)