5180 fichiers 38.5 Mo 0 téléchargements 195 vues mis à jour il y a 5 heures ui
nitro-v36-with-renderer-v36 / src / api / auth / rememberCookieMode.ts
rememberCookieMode.ts 476 o Télécharger le fichier
import { GetConfigurationValue } from '../octane/GetConfigurationValue';

/**
 * Whether a new remembered login asks the server to keep its token in an HttpOnly cookie (`login.remember.cookie`).
 * Off by default: the server must support it and, when the client and the API are on different sites, send the
 * cookie with SameSite=None over https.
 */
export const isRememberCookieMode = (): boolean => GetConfigurationValue<boolean>('login.remember.cookie', false) === true;
15Sujets
1Dépôts
20Membres
2En ligne
Profile
Inscrit
Dernière visite
Messages
0
Votes positifs
0
Votes négatifs
0

Nous utilisons des cookies pour assurer le bon fonctionnement du site et améliorer votre expérience. en savoir plus

Autoriser