Add: User can change their password

This commit is contained in:
2021-12-13 16:18:02 +08:00
parent f1e8dcfad4
commit 1b0688e523
8 changed files with 301 additions and 10 deletions

View File

@@ -17,6 +17,15 @@ function Manage(props) {
Login
</button>
)}
{props.user.role !== 0 && (
<button
onClick={() => {
navigate(`/manage/users/${props.user.id}`);
}}
>
Edit
</button>
)}
{props.user.role !== 0 && (
<button
onClick={() => {