Compare commits
2 commits
08eb13e2b4
...
1386869c43
Author | SHA1 | Date | |
---|---|---|---|
1386869c43 | |||
a711cef174 |
2 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@ export const authOptions: NextAuthOptions = {
|
||||||
console.log(adminUsername);
|
console.log(adminUsername);
|
||||||
console.log(adminPasswordHash);
|
console.log(adminPasswordHash);
|
||||||
console.log(credentials.username);
|
console.log(credentials.username);
|
||||||
console.log(credentials.password);
|
console.log("[password redacted]");
|
||||||
if (credentials.username == adminUsername) {
|
if (credentials.username == adminUsername) {
|
||||||
const isValidPassword = await bcrypt.compare(
|
const isValidPassword = await bcrypt.compare(
|
||||||
credentials.password,
|
credentials.password,
|
||||||
|
|
|
@ -14,6 +14,7 @@ const NextConfig = {
|
||||||
eslint: {
|
eslint: {
|
||||||
ignoreDuringBuilds: true,
|
ignoreDuringBuilds: true,
|
||||||
},
|
},
|
||||||
|
cacheMaxMemorySize: 0,
|
||||||
poweredByHeader: false
|
poweredByHeader: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue