mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9058
Respond with "saved_password" if no password is to be issued.
This commit is contained in:
parent
04f72088c0
commit
8a7deefe64
@ -113,6 +113,7 @@ class PasswordRequestHandler(BaseHTTPRequestHandler):
|
||||
if requestType == 'send_my_password':
|
||||
password = getPassword(clientAddress)
|
||||
if not password:
|
||||
self.wfile.write('saved_password')
|
||||
syslog.syslog('serve_password: requested password not found for %s' % clientAddress)
|
||||
else:
|
||||
self.wfile.write(password)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user