1. Keep session alive with ping-pong. 2. Refreshed tests.
This commit is contained in:
2
backend/dist/services/AuthService.js
vendored
2
backend/dist/services/AuthService.js
vendored
@@ -36,6 +36,8 @@ class AuthService {
|
||||
return !!AuthService.passphrase && AuthService.passphrase.trim() !== '';
|
||||
}
|
||||
static validatePassphrase(inputPassphrase) {
|
||||
console.log('AuthService: AUTH_PASSPHRASE from process.env:', process.env.AUTH_PASSPHRASE);
|
||||
console.log('AuthService: Stored passphrase:', AuthService.passphrase);
|
||||
if (!AuthService.isAuthEnabled()) {
|
||||
return true; // If auth is not enabled, any passphrase is "valid"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user