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:
parent
d9d0d1a465
commit
14df55e5c5
1 changed files with 0 additions and 15 deletions
|
@ -405,21 +405,6 @@ pub(crate) async fn register_route(
|
||||||
)
|
)
|
||||||
.await?;
|
.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
|
// Generate new device id if the user didn't specify one
|
||||||
let no_device = body.inhibit_login
|
let no_device = body.inhibit_login
|
||||||
|| body
|
|| body
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue