handle new primary and seconday emails
commit44ca1c01cccebc64aac2f6787e344fef14c4e8f0
authorJacques Dafflon <jacques.dafflon@cern.ch>
Tue, 25 Nov 2014 09:52:00 +0000 (25 10:52 +0100)
committerAdrian Moennich <adrian.moennich@cern.ch>
Thu, 22 Jan 2015 14:05:03 +0000 (22 15:05 +0100)
tree49ea5699ff3d1ee95ff3fa6fcd7ceebb7e43c4f8
parent65d7b0f426d5495e957d87ffa5e35595be71fffd
handle new primary and seconday emails

 - proper check when changining the primary email
 - proper check when adding a new seconday email
 - send confirmation email when changing the primary email
 - unifed confirmation email endpoint for primary and secondary addresses
 - random url for email confirmation
 - store pending emails in a generic cache instead of the avatar
 - remove the old active secondary email logic
 - remove the pending sencondary email logic from the avatar
 - update the secondary emails field on the settings page directly when setting
   a secondary address as the primary one
indico/MaKaC/services/implementation/user.py
indico/MaKaC/user.py
indico/MaKaC/webinterface/pages/admins.py
indico/MaKaC/webinterface/rh/users.py
indico/MaKaC/webinterface/tpls/UserDetails.tpl
indico/web/flask/blueprints/user.py