mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 10:11:31 +10:00
fixes #2151, apply secure cookie session only if using SSL (https)
This commit is contained in:
@ -17,7 +17,7 @@ import { useRef } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useBackupOtp } from "@/client/services/auth";
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ import { useState } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useForgotPassword } from "@/client/services/auth";
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ import { useRef } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { Link } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useLogin } from "@/client/services/auth";
|
||||
import { useFeatureFlags } from "@/client/services/feature";
|
||||
|
||||
@ -21,7 +21,7 @@ import { useRef } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { Link, useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useRegister } from "@/client/services/auth";
|
||||
import { useFeatureFlags } from "@/client/services/feature";
|
||||
|
||||
@ -17,7 +17,7 @@ import { useEffect, useRef } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { useNavigate, useSearchParams } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useResetPassword } from "@/client/services/auth";
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ import { useRef } from "react";
|
||||
import { Helmet } from "react-helmet-async";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { Link, useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import type { z } from "zod";
|
||||
|
||||
import { useVerifyOtp } from "@/client/services/auth";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user