Fixed login modal info text. Fixed #1924.
This commit is contained in:
parent
15bb62b39a
commit
01aad229fe
@ -259,9 +259,9 @@ class UserLoginView(APIView):
|
|||||||
context['info_text'] = _(
|
context['info_text'] = _(
|
||||||
'Installation was successfully. Use {username} and '
|
'Installation was successfully. Use {username} and '
|
||||||
'{password} for first login. Important: Please change '
|
'{password} for first login. Important: Please change '
|
||||||
'your password!'.format(
|
'your password!').format(
|
||||||
username='<strong>admin</strong>',
|
username='<strong>admin</strong>',
|
||||||
password='<strong>admin</strong>'))
|
password='<strong>admin</strong>')
|
||||||
else:
|
else:
|
||||||
context['info_text'] = ''
|
context['info_text'] = ''
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user