aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/registration.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/registration.h')
-rw-r--r--lib/csapi/registration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/registration.h b/lib/csapi/registration.h
index 62bc35f1..6864fd47 100644
--- a/lib/csapi/registration.h
+++ b/lib/csapi/registration.h
@@ -222,7 +222,7 @@ public:
*
* \param logoutDevices
* Whether the user's other access tokens, and their associated devices,
- * should be revoked if the request succeeds. Defaults to true.
+ * should be revoked if the request succeeds.
*
* When ``false``, the server can still take advantage of `the soft logout
* method <#soft-logout>`_ for the user's remaining devices.
@@ -232,7 +232,7 @@ public:
* authentication API.
*/
explicit ChangePasswordJob(const QString& newPassword,
- Omittable<bool> logoutDevices = none,
+ bool logoutDevices = true,
const Omittable<AuthenticationData>& auth = none);
};