Compare commits
No commits in common. "1386869c4358aa2fd5d919acbff0f8f1c86d6ce5" and "08eb13e2b44125ca072922905d72918fe8989b24" have entirely different histories.
1386869c43
...
08eb13e2b4
2 changed files with 1 additions and 2 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("[password redacted]");
|
console.log(credentials.password);
|
||||||
if (credentials.username == adminUsername) {
|
if (credentials.username == adminUsername) {
|
||||||
const isValidPassword = await bcrypt.compare(
|
const isValidPassword = await bcrypt.compare(
|
||||||
credentials.password,
|
credentials.password,
|
||||||
|
|
|
@ -14,7 +14,6 @@ const NextConfig = {
|
||||||
eslint: {
|
eslint: {
|
||||||
ignoreDuringBuilds: true,
|
ignoreDuringBuilds: true,
|
||||||
},
|
},
|
||||||
cacheMaxMemorySize: 0,
|
|
||||||
poweredByHeader: false
|
poweredByHeader: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue