debug: log and return credentialsReceived flag in test-auth response
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4c3a80dcfd
commit
21c9b911ef
1 changed files with 7 additions and 1 deletions
|
|
@ -148,9 +148,15 @@ export class HttpServer {
|
|||
return;
|
||||
}
|
||||
|
||||
logger.info(`Starting auth detection tests for: ${meetingUrl}`);
|
||||
const hasEmail = !!botAccountEmail;
|
||||
const hasPassword = !!botAccountPassword;
|
||||
logger.info(`Starting auth detection tests for: ${meetingUrl} (credentials: email=${hasEmail}, password=${hasPassword})`);
|
||||
|
||||
const results = await runAuthTests(meetingUrl, botAccountEmail, botAccountPassword);
|
||||
|
||||
// Attach credential debug info so UI can show it
|
||||
(results as any).credentialsReceived = { hasEmail, hasPassword };
|
||||
|
||||
res.json(results);
|
||||
} catch (error) {
|
||||
logger.error('Error running auth tests:', error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue