Archived
1
0

feat: add splitOnFirstEquals function

This commit is contained in:
Joe Previte
2021-06-03 16:30:33 -07:00
parent 517aaf71c5
commit 531b7c0c25
3 changed files with 62 additions and 11 deletions

View File

@ -2,18 +2,9 @@ import { Router, Request } from "express"
import { promises as fs } from "fs"
import { RateLimiter as Limiter } from "limiter"
import * as path from "path"
import safeCompare from "safe-compare"
import { rootPath } from "../constants"
import { authenticated, getCookieDomain, redirect, replaceTemplates } from "../http"
import {
getPasswordMethod,
handlePasswordValidation,
hash,
hashLegacy,
humanPath,
isHashLegacyMatch,
isHashMatch,
} from "../util"
import { getPasswordMethod, handlePasswordValidation, humanPath } from "../util"
export enum Cookie {
Key = "key",