1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-26 05:03:22 +00:00

Updated translations and headers.

This commit is contained in:
Ylian Saint-Hilaire
2022-01-23 23:14:02 -08:00
parent c1947f81a8
commit e4c3af0682
38 changed files with 5320 additions and 3545 deletions

View File

@@ -1,5 +1,5 @@
/*
Copyright 2009-2021 Intel Corporation
Copyright 2009-2022 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -560,6 +560,7 @@ namespace MeshCentralRouter
private void Meshcentral_onTwoFactorCookie(string cookie)
{
if (this.InvokeRequired) { this.Invoke(new MeshCentralServer.twoFactorCookieHandler(Meshcentral_onTwoFactorCookie), cookie); return; }
if (debug) { try { File.AppendAllText("debug.log", "Saving 2FA cookie\r\n"); } catch (Exception) { } }
Settings.SetRegValue("TwoFactorCookie", cookie);
}