Skip to content
Snippets Groups Projects
Unverified Commit 6b11989d authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Remove deprecated lifecycle methods in auth (#18459)

parent 1018c5fc
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@ const mapDispatchToProps = {
mapDispatchToProps,
)
export default class LogoutApp extends Component {
UNSAFE_componentWillMount() {
componentDidMount() {
this.props.logout();
}
......
......@@ -29,7 +29,7 @@ export default class PasswordResetApp extends Component {
resetSuccess: false,
};
async UNSAFE_componentWillMount() {
async componentDidMount() {
try {
const result = await SessionApi.password_reset_token_valid({
token: this.props.token,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment