feat: password reset UI (forgot password, reset page, admin reset button)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useNavigate, Link } from 'react-router-dom';
|
||||
import { useAuthStore } from '@/stores/auth';
|
||||
import { Network, Eye, EyeOff } from 'lucide-react';
|
||||
import LoadingSpinner from '@/components/LoadingSpinner';
|
||||
@@ -61,7 +61,15 @@ export default function LoginPage() {
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label className="block text-sm font-medium text-slate-700 mb-1.5">Password</label>
|
||||
<div className="flex items-center justify-between mb-1.5">
|
||||
<label className="block text-sm font-medium text-slate-700">Password</label>
|
||||
<Link
|
||||
to="/forgot-password"
|
||||
className="text-xs text-blue-600 hover:text-blue-700"
|
||||
>
|
||||
Forgot password?
|
||||
</Link>
|
||||
</div>
|
||||
<div className="relative">
|
||||
<input
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
|
||||
Reference in New Issue
Block a user