feat: log in with google
This commit is contained in:
parent
bb2fa55cd5
commit
8a8b4caa18
11 changed files with 403 additions and 74 deletions
|
@ -52,7 +52,9 @@
|
|||
"register-with-email": "Register with an email address",
|
||||
"email-label": "Your email address",
|
||||
"confirm-password-label": "Confirm password",
|
||||
"register-with-email-init-success": "Success! An email has been sent to your inbox, please press the link there to continue."
|
||||
"register-with-email-init-success": "Success! An email has been sent to your inbox, please press the link there to continue.",
|
||||
"register-with-google": "Register with a Google account",
|
||||
"remote-google-account-label": "Your Google account"
|
||||
},
|
||||
"error": {
|
||||
"bad-request-header": "Something was wrong with your input",
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
import type { Cookies } from "@sveltejs/kit";
|
||||
import { DateTime } from "luxon";
|
||||
|
||||
export const TOKEN_COOKIE_NAME = "__Host-pronounscc-token";
|
||||
// export const TOKEN_COOKIE_NAME = "__Host-pronounscc-token";
|
||||
export const TOKEN_COOKIE_NAME = "pronounscc-token";
|
||||
|
||||
export const setToken = (cookies: Cookies, token: string) =>
|
||||
cookies.set(TOKEN_COOKIE_NAME, token, { path: "/" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue