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