mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix: #51842
This commit is contained in:
parent
e91240b439
commit
3baeedfcb2
1 changed files with 3 additions and 3 deletions
|
@ -28,9 +28,9 @@ The relevant entry in the ``models.py`` file would look like this:
|
|||
.. code-block:: python
|
||||
|
||||
class SaltExternalAuthModel(models.Model):
|
||||
user_fk = models.ForeignKey(auth.User)
|
||||
minion_matcher = models.CharField()
|
||||
minion_fn = models.CharField()
|
||||
user_fk = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
minion_or_fn_matcher = models.CharField(max_length=255)
|
||||
minion_fn = models.CharField(max_length=255)
|
||||
|
||||
The :conf_master:`external_auth` clause in the master config would then look
|
||||
like this:
|
||||
|
|
Loading…
Add table
Reference in a new issue