mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
fix: 修改翻译内容 (#5489)
* fix: 修改翻译内容 * fix: 修改翻译内容(2) Co-authored-by: Bai <bugatti_it@163.com>
This commit is contained in:
@@ -49,8 +49,7 @@ class UserForgotPasswordView(FormView):
|
||||
if not user.is_local:
|
||||
error = _(
|
||||
'The user is from {}, please go to the corresponding system to change the password'
|
||||
''.format(user.get_source_display())
|
||||
)
|
||||
).format(user.get_source_display())
|
||||
form.add_error('email', error)
|
||||
return self.form_invalid(form)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user