Revision 55a2cc0e snf-astakos-app/astakos/im/views.py
b/snf-astakos-app/astakos/im/views.py | ||
---|---|---|
436 | 436 |
return HttpResponseBadRequest(_('No such user')) |
437 | 437 |
|
438 | 438 |
try: |
439 |
local_user = AstakosUser.objects.get(email=user.email, is_active=True, provider='local')
|
|
439 |
local_user = AstakosUser.objects.get(email=user.email, is_active=True) |
|
440 | 440 |
except AstakosUser.DoesNotExist: |
441 | 441 |
user.is_active = True |
442 | 442 |
user.email_verified = True |
Also available in: Unified diff