Skip to content

Commit

Permalink
chore: update env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hyamero committed Aug 21, 2024
1 parent 6707482 commit 4138253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/event-setup/components/admin-perm-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function AdminPermDialog({
const handleLogin: React.FormEventHandler = (e) => {
e.preventDefault();

if (password === process.env.NEXT_PUBLIC_PASSWORD) {
if (password === process.env.NEXT_PUBLIC_TEMP_CREDENTIAL) {
toast.success("Login successful");
setAuthorized(true);
} else {
Expand Down

0 comments on commit 4138253

Please sign in to comment.