Sfoglia il codice sorgente

Logging WebDAV credentials prompts

Source commit: 5d534af7ea7cd1648d4f841ed48ac6e497d0ac9b
Martin Prikryl 7 anni fa
parent
commit
fcfeb83309
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      source/core/WebDAVFileSystem.cpp

+ 2 - 0
source/core/WebDAVFileSystem.cpp

@@ -1827,6 +1827,7 @@ int TWebDAVFileSystem::NeonRequestAuth(
     }
     else
     {
+      Terminal->LogEvent(L"Username prompt");
       if (!Terminal->PromptUser(SessionData, pkUserName, LoadStr(USERNAME_TITLE), L"",
             LoadStr(USERNAME_PROMPT2), true, NE_ABUFSIZ, FileSystem->FUserName))
       {
@@ -1873,6 +1874,7 @@ int TWebDAVFileSystem::NeonRequestAuth(
         // Asking for password (or using configured password) the first time,
         // and asking for password.
         // Note that we never get false here actually
+        Terminal->LogEvent(L"Password prompt");
         Result =
           Terminal->PromptUser(
             SessionData, pkPassword, LoadStr(PASSWORD_TITLE), L"",