Fixed some bugs

- Didn't add token to URL for settings
- Auth collapse wouldn't hide
This commit is contained in:
Henry Whitaker
2020-08-21 18:20:15 +01:00
parent a49979daae
commit 79a85fdba9
7 changed files with 19 additions and 148842 deletions

View File

@@ -57,6 +57,9 @@ export default class ResetPassword extends Component {
.then((resp) => {
toast.success('Password updated');
this.toggleModal();
if(this.state.logoutDevices == true) {
location.reload(true);
}
})
.catch((err) => {
if(err.response) {