Revision 6e7d288c snf-astakos-app/astakos/im/api/admin.py

b/snf-astakos-app/astakos/im/api/admin.py
207 207
        l.append({ 'url': absolute(reverse('astakos.im.views.edit_profile')),
208 208
                  'name': "My account" })
209 209
        if with_extra_links:
210
            if user.has_usable_password():
210
            if user.has_usable_password() and user.provider == 'local':
211 211
                l.append({ 'url': absolute(reverse('password_change')),
212 212
                          'name': "Change password" })
213 213
            if EMAILCHANGE_ENABLED:

Also available in: Unified diff