Revision 4f975958

b/snf-astakos-app/astakos/im/models.py
759 759
    except AstakosUser.DoesNotExist:
760 760
        extended_user = AstakosUser(user_ptr_id=u.pk)
761 761
        extended_user.__dict__.update(u.__dict__)
762
        extended_user.renew_token()
762
#         extended_user.renew_token()
763 763
        extended_user.save()
764 764
    except BaseException, e:
765 765
        logger.exception(e)
......
812 812
    set_default_group(instance)
813 813
    # TODO handle socket.error & IOError
814 814
    register_users((instance,))
815
#     instance.renew_token()
815
    instance.renew_token()
816 816

  
817 817

  
818 818
def resource_post_save(sender, instance, created, **kwargs):

Also available in: Unified diff