Merge pull request #1930 from normanjaeckel/LoginModalText
Fixed login modal info text. Fixed #1924.
This commit is contained in:
commit
b6f7836678
@ -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