Hello everybody,
the subject of this topic is quite clear; I'd like to know how can I
localized the flash warnings/errors or some workaround to do it.
In my example I have this lines in the class actions.class.php for the
user model:
$q = Doctrine_Query::create()
->from('WeeventUser wu')
->where('wu.username = ?', $request->getParameter('username'))
->andWhere('wu.password = ?', $request->getParameter('password'));
$weevent_users = $q->execute();
if (count($weevent_users)==1)
$this->redirect('user/show?id='.$weevent_users[0]->getId());
else{
$this->getUser()->setFlash('error', __('Username or password are
wrong'));
$this->redirect('user/login');
}
Thank you very much
Riccardo
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en