diff --git a/data/model/user.py b/data/model/user.py index fbcb7d9e4..4db9e132b 100644 --- a/data/model/user.py +++ b/data/model/user.py @@ -255,6 +255,7 @@ def regenerate_robot_token(robot_shortname, parent): robot = lookup_robot(robot_username) password = random_string_generator(length=64)() robot.email = password + robot.uuid = str(uuid4()) service = LoginService.get(name='quayrobot') login = FederatedLogin.get(FederatedLogin.user == robot, FederatedLogin.service == service)