reload sessions after password changed
This commit is contained in:
@@ -1030,6 +1030,7 @@ export default {
|
||||
'Nothing has been modified': 'Nothing has been modified',
|
||||
'Your profile has been successfully updated': 'Your profile has been successfully updated',
|
||||
'Unable to update user profile': 'Unable to update user profile',
|
||||
'After the password is changed, other devices will be logged out, please log in again on other devices by using the new password.': 'After the password is changed, other devices will be logged out, please log in again on other devices by using the new password.',
|
||||
'Data Management': 'Data Management',
|
||||
'Unable to get user statistics data': 'Unable to get user statistics data',
|
||||
'Export Data': 'Export Data',
|
||||
|
||||
@@ -1030,6 +1030,7 @@ export default {
|
||||
'Nothing has been modified': '没有修改的项目',
|
||||
'Your profile has been successfully updated': '您的用户信息更新成功',
|
||||
'Unable to update user profile': '无法更新用户信息',
|
||||
'After the password is changed, other devices will be logged out, please log in again on other devices by using the new password.': '密码修改后,其他设备将会退出登录,请使用新密码在其他设备上重新登录。',
|
||||
'Data Management': '数据管理',
|
||||
'Unable to get user statistics data': '无法获取用户统计数据',
|
||||
'Export Data': '导出数据',
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
<v-col cols="12">
|
||||
<v-card :class="{ 'disabled': updatingPassword }" :title="$t('Modify Password')">
|
||||
<v-form>
|
||||
<v-card-text class="pt-0">
|
||||
<span class="text-subtitle-1">{{ $t('After the password is changed, other devices will be logged out, please log in again on other devices by using the new password.') }}</span>
|
||||
</v-card-text>
|
||||
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col cols="12" md="6">
|
||||
@@ -261,6 +265,8 @@ export default {
|
||||
self.settingsStore.updateLocalizedDefaultSettings(localeDefaultSettings);
|
||||
}
|
||||
|
||||
self.reloadSessions();
|
||||
|
||||
self.$refs.snackbar.showMessage('Your profile has been successfully updated');
|
||||
}).catch(error => {
|
||||
self.updatingPassword = false;
|
||||
|
||||
Reference in New Issue
Block a user