diff --git a/src/api/identity.rs b/src/api/identity.rs index a43f8de..46a7040 100644 --- a/src/api/identity.rs +++ b/src/api/identity.rs @@ -147,7 +147,6 @@ fn _password_login(data: ConnectData, conn: DbConn, ip: &ClientIp) -> JsonResult } // Common - let user = User::find_by_uuid(&device.user_uuid, &conn).unwrap(); let orgs = UserOrganization::find_by_user(&user.uuid, &conn); let (access_token, expires_in) = device.refresh_tokens(&user, orgs);