Skip to content

Commit

Permalink
Removing unencrypted credentials from model (#2220)
Browse files Browse the repository at this point in the history
* refactor: removed unencrypted credentials from sap config model
  • Loading branch information
MueezKhan246 authored Sep 10, 2024
1 parent 8b31c10 commit fa7bfe8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.25.7]
----------
* refactor: removed unencrypted credentials from sap config model

[4.25.6]
----------
* refactor: making unencrypted credentials nullable so after removing refs tests can run
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.25.6"
__version__ = "4.25.7"
16 changes: 0 additions & 16 deletions integrated_channels/sap_success_factors/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ class SAPSuccessFactorsEnterpriseCustomerConfiguration(EnterpriseCustomerPluginC
(USER_TYPE_USER, 'User'),
(USER_TYPE_ADMIN, 'Admin'),
)
key = models.CharField(
max_length=255,
blank=True,
default='',
verbose_name="Client ID",
help_text=_("OAuth client identifier."),
null=True
)

decrypted_key = EncryptedCharField(
max_length=255,
Expand Down Expand Up @@ -138,14 +130,6 @@ def encrypted_key(self, value):
verbose_name="SAP User ID",
help_text=_("Success factors user identifier.")
)
secret = models.CharField(
max_length=255,
blank=True,
default='',
verbose_name="Client Secret",
help_text=_("OAuth client secret."),
null=True
)

decrypted_secret = EncryptedCharField(
max_length=255,
Expand Down

0 comments on commit fa7bfe8

Please sign in to comment.