forked from sk1982/actaeon
auth: use trustHost
This commit is contained in:
parent
5dd7fd46b9
commit
7c5d6ce0dc
@ -20,6 +20,7 @@ export const {
|
|||||||
session: {
|
session: {
|
||||||
strategy: 'jwt'
|
strategy: 'jwt'
|
||||||
},
|
},
|
||||||
|
trustHost: true,
|
||||||
callbacks: {
|
callbacks: {
|
||||||
jwt({ token, user }) {
|
jwt({ token, user }) {
|
||||||
token.user ??= user;
|
token.user ??= user;
|
||||||
|
Loading…
Reference in New Issue
Block a user