mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-21 06:34:30 +01:00
Multiuser support (#60)
This commit is contained in:
16
app/debug/user/page.tsx
Normal file
16
app/debug/user/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { saltAndHashPassword } from "@/lib/server-helpers";
|
||||
|
||||
export default function DebugPage() {
|
||||
const password = 'admin';
|
||||
const hashedPassword = saltAndHashPassword(password);
|
||||
|
||||
return (
|
||||
<div className="p-4">
|
||||
<h1 className="text-xl font-bold mb-4">Debug Page</h1>
|
||||
<div className="bg-gray-100 p-4 rounded break-all">
|
||||
<p><strong>Password:</strong> {password}</p>
|
||||
<p><strong>Hashed Password:</strong> {hashedPassword}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user