mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
chore: update README.mdx (#6121)
Added a missing backtick that breaks layout
This commit is contained in:
parent
b1e7f62f79
commit
9904ac74d9
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ After signing out, it'll be great to redirect your user back to your website. Le
|
||||||
|
|
||||||
In Logto SDK, you can use the `withLogto` middleware to get `req.user.isAuthenticated` to check the authentication status, if the user is signed in, the value will be `true`, otherwise, the value will be `false`.
|
In Logto SDK, you can use the `withLogto` middleware to get `req.user.isAuthenticated` to check the authentication status, if the user is signed in, the value will be `true`, otherwise, the value will be `false`.
|
||||||
|
|
||||||
``ts
|
```ts
|
||||||
import { withLogto } from '@logto/express';
|
import { withLogto } from '@logto/express';
|
||||||
|
|
||||||
app.use(withLogto(config));
|
app.use(withLogto(config));
|
||||||
|
|
Loading…
Reference in a new issue