0
votes
2answers
8 views
How to make last login on FOSUerBundle
I am thinking to record last login in user table.
My assumption is like this .
1)make $lastLogin column in Entity.
/**
* @var \DateTime
*
* @ORM\Column(type="datetime")
*/
private $lastLogin;
...
0
votes
0answers
8 views
Use fosuser registration form on multiple urls
I want to use the fosuser registration form on different urls for different languages. Like for example /en/register and /de/registrierung.
# app/config/routing.yml
fos_user_register_de:
...
0
votes
1answer
21 views
FOSUserBundle authenticate selected user
I would authenticate a user in a very direct way (FOSUserBundle, Symfony2.2). I'am trying with a trivial example, but it doesn't work:
...
use FOS\UserBundle\Controller\RegistrationController as ...
0
votes
0answers
18 views
preg_match error with SwiftMailer
I am developing a Symfony2 application with FOSUserBundle (on localhost with LAMPP) ; everything worked fine until now, but I tryed to activate email confirmation and then I got this error :
...
0
votes
1answer
25 views
Events FOSUserBundle Symfony2 on register and login
I'm trying to implement events on FOSUserBundle
<?php
namespace EasyApp\UserBundle\Service;
use Symfony\Component\Security\Core\SecurityContext;
use ...
0
votes
1answer
16 views
Access to service overriding FOS User Bundle Controller
I'm new in Symfony2,
I'm trying to override a controller using a service inside
This is the register controller
class RegistrationController extends BaseController
{
public function ...
0
votes
1answer
51 views
+50
Symfony OAuth api FOSOAuthServerBundle: crash
Am trying to use the FOSOAuthServerBundle but am having a crash problem, the crash message is :
PHP Fatal error: Declaration of MP\OAuthBundle\Entity\AccessToken::setUser() must be compatible with ...
0
votes
0answers
26 views
Get user's plain password on registration with FOSUser bundle
I'm using the FosUserBundle to handle my application login/registration workflows. Then I need to obtain the user's plain password on registration, because I would like to generate an access token ...
0
votes
1answer
17 views
Integrate SonataAdminBundle + FOSUserBundle Without SonataUserBundle for security in symfony 2.3 ?
Hi I am using FOSUserBundle for authentication and roles. for admin panel I am using SonataAdminBundle.
FOSUserBundle Version 2.0.dev (witch support event listeners)
When I tried to install ...
1
vote
1answer
44 views
type of users SonataUserBundle + FOSUserBundle + SonataAdminBundle
I'm trying to create 3 users in my project:
Cliente : Who will access front-end and have fields 'name', 'CPF', 'adress'.
Vendedor : Who will register Offers in the site and have fields 'phone', ...
0
votes
1answer
12 views
How can I fetch distinct values of doctrine2 field with type array
I have FOSUser table and the users have roles with data type array, which are saved in the database in a serialized form, i tried doing a distinct query but it returns each row separately, here's how ...
0
votes
1answer
32 views
FOSUserBundle: Update entity after registration
In order to register, users have to select a their account name created by my moderators. That means that a moderators have to create an account name before the user registers.
To do so, I made a ...
0
votes
1answer
33 views
How to restrict input data to mysql only [a-zA-Z0-9_]
I am making application with FOSUserbundle and symfony2
but I can input 2byte caracter as userid.
How can I restrict input data.
I should check mysql level? or doctrine entity level ?
According to ...
0
votes
1answer
21 views
FOSUserbundle security setting
I am using FOSUserbundle
my security setting is like this so,if you access under /member
without login,you are transferred to Top page.
I want to add another behaivor.
If You access on toppage ...
0
votes
0answers
19 views
Can't make FOSUserBundle working with Couchdb
I was try with MySQL and FOSUserBundle working well, but when I try with CouchDB seem, I can't login/register user at all.
This is my security config
security:
encoders:
...