Revision a9c0cd9f
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
274 | 274 |
def save(self, commit=True): |
275 | 275 |
user = super(ThirdPartyUserCreationForm, self).save(commit=False) |
276 | 276 |
user.set_unusable_password() |
277 |
user.is_local = False |
|
278 | 277 |
user.renew_token() |
279 | 278 |
if commit: |
280 | 279 |
user.save() |
Also available in: Unified diff