mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
chore: remove TODOs with linear issues (#1495)
* chore: remove TODOs with linear issues * chore: remove simeng TODOs * chore: remove simeng TODOs
This commit is contained in:
parent
30314cc628
commit
82ed2fe169
4 changed files with 2 additions and 4 deletions
|
@ -32,7 +32,7 @@ const Guide = ({ connector, onClose }: Props) => {
|
|||
const { id: connectorId, type: connectorType, name, configTemplate, readme } = connector;
|
||||
|
||||
const locale = i18next.language;
|
||||
// TODO: LOG-2393 should fix name[locale] syntax error
|
||||
|
||||
const foundName = Object.entries(name).find(([lang]) => lang === locale);
|
||||
const connectorName = foundName ? foundName[1] : name.en;
|
||||
const isSocialConnector =
|
||||
|
|
|
@ -106,7 +106,6 @@ export const verifyPasscode = async (
|
|||
}
|
||||
|
||||
if (code !== passcode.code) {
|
||||
// TODO use SQL's native +1
|
||||
await updatePasscode({
|
||||
where: { id: passcode.id },
|
||||
set: { tryCount: passcode.tryCount + 1 },
|
||||
|
|
|
@ -51,7 +51,6 @@ export default function adminUserRoutes<T extends AuthedRouter>(router: T) {
|
|||
|
||||
router.get(
|
||||
'/users/:userId',
|
||||
// TODO: No need to guard
|
||||
koaGuard({
|
||||
params: object({ userId: string() }),
|
||||
}),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* Temp Solution for getting the sign in experience
|
||||
* TODO: Remove this once we have a better way to get the sign in experience through SSR
|
||||
* Remove this once we have a better way to get the sign in experience through SSR
|
||||
*/
|
||||
|
||||
import { SignInMethods } from '@logto/schemas';
|
||||
|
|
Loading…
Add table
Reference in a new issue