1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-09-15 17:26:58 +00:00

style(1014): Remove unnecessary commented code

This commit is contained in:
nexy7574 2025-09-11 17:23:45 +01:00 committed by nex
parent d9d0d1a465
commit 14df55e5c5

View file

@ -405,21 +405,6 @@ pub(crate) async fn register_route(
)
.await?;
// if (!is_guest && body.inhibit_login)
// || body
// .appservice_info
// .as_ref()
// .is_some_and(|appservice| appservice.registration.device_management)
// {
// return Ok(register::v3::Response {
// access_token: None,
// user_id,
// device_id: None,
// refresh_token: None,
// expires_in: None,
// });
// }
// Generate new device id if the user didn't specify one
let no_device = body.inhibit_login
|| body