parent
e8b72477c9
commit
c3f4c6c03b
|
@ -30,8 +30,8 @@ export class TwoFactorRecoveryComponent {
|
|||
'<code style="font-family: Menlo, Monaco, Consolas, \'Courier New\', monospace;">' +
|
||||
this.code + '</code></div>' +
|
||||
'<p style="text-align: center;">' + new Date() + '</p>');
|
||||
w.onafterprint = () => w.close();
|
||||
w.print();
|
||||
w.close();
|
||||
}
|
||||
|
||||
private formatString(s: string) {
|
||||
|
|
Loading…
Reference in New Issue