routing improved, settings initialized
This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
||||
const response = await apiClient.post('/api/auth/activate', { token: this.token });
|
||||
if (response.status === 200) {
|
||||
this.user.active = true;
|
||||
this.$router.push('/'); // Redirect to login after activation
|
||||
this.$router.push('/settings/personal');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error activating account:', error);
|
||||
|
||||
Reference in New Issue
Block a user