mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
add better error message when auth failed
This commit is contained in:
parent
54a1eba6c9
commit
ef9c517e76
@ -453,6 +453,10 @@ class Auth(object):
|
||||
return ''
|
||||
return aes
|
||||
else:
|
||||
log.error('The masters public could not be verified. Is the '
|
||||
'verification pubkey {0} up to date?'
|
||||
''.format(self.opts['master_sign_key_name'] + '.pub'))
|
||||
|
||||
return ''
|
||||
else:
|
||||
if self.opts['verify_master_pubkey_sign']:
|
||||
|
Loading…
Reference in New Issue
Block a user