Fix account create success message
This commit is contained in:
parent
3442085dc0
commit
79a0ace565
|
|
@ -146,8 +146,10 @@ class RegisterController extends Controller {
|
|||
))
|
||||
), 'error');
|
||||
}
|
||||
return new TemplateResponse('registration', 'message', array('msgs' =>
|
||||
$this->l10n->t('Your account has been successfully created, you can <a href="{link}">log in now</a>.')
|
||||
return new TemplateResponse('registration', 'message', array('msg' =>
|
||||
str_replace('{link}',
|
||||
$this->urlgenerator->getAbsoluteURL('/'),
|
||||
$this->l10n->t('Your account has been successfully created, you can <a href="{link}">log in now</a>.'))
|
||||
), 'guest');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@
|
|||
color: white;
|
||||
margin: 5px;
|
||||
}
|
||||
.msg a {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.groupofone {
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Reference in New Issue