Use ConfigFactory->getEditable() for updating the config in generateToken function

Closes #3535998

Merge request reports

Loading