fixed bug when updating user when no roles were selected, changed change-password link

[?]
Mar 15, 2011, 2:57 PM
I2WEO2VSDAYTRCHV7UJP2YPDUEJ6RM3N7JJV24P6A5WZSZG73X3AC

Dependencies

  • [2] SZYDW2DG hydra: added some user admin
  • [3] SMCOU72F hydra: add some admin for adding/enabling/etc build machines
  • [4] F7S2EGV2 hydra: cannot change username, also update fullname
  • [*] ZWCTAZGL added newsitems, added some admin options to clear various caches.

Change contents

  • replacement in src/lib/Hydra/Controller/Admin.pm at line 86
    [2.1035][2.1035:1089]()
    $user->userroles->create({ role => $roles}) ;
    [2.1035]
    [2.1089]
    $user->userroles->create({ role => $roles}) if defined $roles ;
  • replacement in src/lib/Hydra/Controller/Admin.pm at line 161
    [2.2855][2.2855:2927]()
    "You can change your password at http://".hostname_long." .\n".
    [2.2855]
    [2.2927]
    "You can change your password at http://".hostname_long."/change-password .\n".