fix: reset ssh url problem

pull/8892/head
feng626 2022-09-21 15:19:40 +08:00 committed by Jiangjie.Bai
parent 404fadd899
commit 567b62516a
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class UserExpirationReminderMsg(UserMessage):
class ResetSSHKeyMsg(UserMessage):
def get_html_msg(self) -> dict:
subject = _('Reset SSH Key')
update_url = urljoin(settings.SITE_URL, '/ui/#/users/profile/?activeTab=SSHUpdate')
update_url = urljoin(settings.SITE_URL, '/ui/#/profile/setting/?activeTab=SSHUpdate')
context = {
'name': self.user.name,
'url': update_url,