mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
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:
parent
b1b2378758
commit
5a786136da
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
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue