fix: [API] resetting the authkey didn't respond with the new key before, making automation difficult.

pull/4421/head
iglocska 2019-03-12 22:03:34 +01:00
parent 6f46c022de
commit 7b34e8cacb
1 changed files with 1 additions and 1 deletions

View File

@ -1148,7 +1148,7 @@ class UsersController extends AppController
$this->_refreshAuth();
$this->redirect($this->referer());
} else {
return $this->RestResponse->saveSuccessResponse('User', 'resetauthkey', $id, $this->response->type(), 'User\'s authkey has been reset.');
return $this->RestResponse->saveSuccessResponse('User', 'resetauthkey', $id, $this->response->type(), 'Authkey updated: ' . $newkey);
}
}