|
a/Allura/allura/controllers/auth.py |
|
b/Allura/allura/controllers/auth.py |
|
... |
|
... |
292 |
obj = c.user.openid_object(old_oid)
|
292 |
obj = c.user.openid_object(old_oid)
|
293 |
if data.get('delete') or not obj:
|
293 |
if data.get('delete') or not obj:
|
294 |
del c.user.open_ids[i]
|
294 |
del c.user.open_ids[i]
|
295 |
if obj: obj.delete()
|
295 |
if obj: obj.delete()
|
296 |
for k,v in preferences.iteritems():
|
296 |
for k,v in preferences.iteritems():
|
|
|
297 |
if k == 'results_per_page':
|
|
|
298 |
v = int(v)
|
297 |
c.user.preferences[k] = v
|
299 |
c.user.preferences[k] = v
|
298 |
redirect('.')
|
300 |
redirect('.')
|
299 |
|
301 |
|
300 |
@h.vardec
|
302 |
@h.vardec
|
301 |
@expose()
|
303 |
@expose()
|