mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
style(1014): Remove unnecessary commented code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user