diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index 9dfa0115d..953760fec 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -78,9 +78,7 @@ class SettingsNavigation extends Component { | |||
78 | this.props.stores.user.isLoggingOut = true; | 78 | this.props.stores.user.isLoggingOut = true; |
79 | } | 79 | } |
80 | 80 | ||
81 | this.props.stores.router.push( | 81 | this.props.stores.router.push('/auth/welcome'); |
82 | isLoggedIn ? '/auth/logout' : '/auth/welcome', | ||
83 | ); | ||
84 | 82 | ||
85 | if (isLoggedIn) { | 83 | if (isLoggedIn) { |
86 | // Reload Ferdi, otherwise many settings won't sync correctly with the server | 84 | // Reload Ferdi, otherwise many settings won't sync correctly with the server |