mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
Bootstrapped ChangeUserPassword.js
This commit is contained in:
@@ -19,6 +19,7 @@ import SingleGroup from "../groups/containers/SingleGroup";
|
||||
import AddGroup from "../groups/containers/AddGroup";
|
||||
|
||||
import Config from "../config/containers/Config";
|
||||
import ChangeUserPassword from "../users/components/ChangeUserPassword";
|
||||
|
||||
type Props = {
|
||||
authenticated?: boolean
|
||||
@@ -78,6 +79,11 @@ class Main extends React.Component<Props> {
|
||||
path="/user/:name"
|
||||
component={SingleUser}
|
||||
/>
|
||||
<ProtectedRoute
|
||||
authenticated={authenticated}
|
||||
path={"/me/password"}
|
||||
component={ChangeUserPassword}
|
||||
/>
|
||||
<ProtectedRoute
|
||||
exact
|
||||
path="/groups"
|
||||
|
||||
Reference in New Issue
Block a user