mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix sharedsecret authentication
This commit is contained in:
parent
e533b7182d
commit
71d5601507
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ import logging
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def auth(username, sharedsecret, **kwargs):
|
||||
def auth(username, password):
|
||||
'''
|
||||
Shared secret authentication
|
||||
'''
|
||||
return sharedsecret == __opts__.get('sharedsecret')
|
||||
return password == __opts__.get('sharedsecret')
|
||||
|
|
Loading…
Add table
Reference in a new issue