Add: User can change their password
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user