fix dids of eidas1 link to organization
This commit is contained in:
parent
08af99370f
commit
120b1e0c69
|
@ -401,7 +401,6 @@ class ImportCertificateForm(forms.Form):
|
|||
self._did = None
|
||||
self._s = None
|
||||
self._label = None
|
||||
self.user = kwargs.pop('user', None)
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def clean(self):
|
||||
|
@ -434,7 +433,6 @@ class ImportCertificateForm(forms.Form):
|
|||
did=self.file_name,
|
||||
label=self._label,
|
||||
eidas1=True,
|
||||
user=self.user,
|
||||
type=DID.Types.KEY
|
||||
)
|
||||
|
||||
|
|
|
@ -840,11 +840,6 @@ class WalletConfigIssuesView(Credentials, FormView):
|
|||
form_class = ImportCertificateForm
|
||||
success_url = reverse_lazy('idhub:admin_dids')
|
||||
|
||||
def get_form_kwargs(self):
|
||||
kwargs = super().get_form_kwargs()
|
||||
kwargs['user'] = self.request.user
|
||||
return kwargs
|
||||
|
||||
def form_valid(self, form):
|
||||
cred = form.save()
|
||||
if cred:
|
||||
|
|
Loading…
Reference in New Issue