Use monospaced font when printing twofactor backup codes.

This helps differentiating similar characters like "I" / "1".

Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Joachim Bauch 2019-03-22 09:50:44 +01:00 committed by Christoph Wurst
parent b1b2378758
commit 5a786136da
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
export function print (data) {
const newTab = window.open('', t('twofactor_backupcodes', 'Nextcloud backup codes'));
newTab.document.write('<h1>' + t('twofactor_backupcodes', 'Nextcloud backup codes') + '</h1>');
newTab.document.write(data);
newTab.document.write('<pre>' + data + '</pre>');
newTab.print();
newTab.close();
}