Questions tagged [zfcuser]

ZfcUser is a module for use with Zend Framework 2 in PHP. It handles user authentication. It is part of the Zend Framework Commons suite of modules.

ZfcUser is a zend framework module for handling User authentication + registration. It work with Zend DB out of Box. It provide following features.

  • Authenticate via username, email, or both
  • Registration
  • CSRF Protection

Their are plugin for this modules for work with Doctrine 2 & Mongo DB ODM

194 questions
0
votes
1 answer

How to remove fields from ZfcUser that aren't needed?

Just getting my hands dirty with a new ZF2 site, and I'm working on integrating the ZfcUser module. I have it working great out-of-the-box but I'm now trying to customize it. I was able to create my own Entity\User, and to add fields and have them…
sarahg
  • 161
  • 3
  • 5
0
votes
0 answers

ZfcUser: How do I do my own authentication?

I am facing the problem that I have to implement a way to authenticate a user against a SecurityService and, after that, get some data about him out of my database. I want to use the ZfcUser Plugin and I am confused by Adapters, AdapterChains and…
RobRob
  • 41
  • 3
0
votes
1 answer

Extending/Replacing forms in ZfcUser by overloading the factories?

I am working with several team members in a project that will be using ZfcUser. I know that the documented way of extending the form is by attaching a listener to the form events inside the init method of our custom module. This is fine and we can…
Adrian
  • 1,370
  • 11
  • 21
0
votes
0 answers

Extending ZfcUser Authorization

I am looking for some kind of direction and/or guidance on how to best extend zfcuser to include a third property for authentication beyond username/email & password. I am looking to add a "domain" field to include in authentication. I have figured…
Tyler
  • 1
0
votes
1 answer

zfcuser registration process is not working

I am learning Zend Framework(2.0), I have downloaded the skeleton application and installed the zfcuser. When I tried with registration process but it just reloads the nothing else. Database connection is working fine as I have tried album module…
Anil Nautiyal
  • 41
  • 1
  • 7
0
votes
2 answers

Extending ZfcUsers UserController

i want to extend the UserController with an setEventManager implementation, to display another layout - just with an login mask. When i call the url www.example.com i get my Controller, with the other layout. But if type in a wrong username, i…
KFO
  • 328
  • 4
  • 15
0
votes
1 answer

Extend complete ZfcUser Module

I want to extend the ZfcUser module, but i do not want to edit the original ZfcUser files. How can i extend files like the module.php, the view and form files? or is it even possible to extend the complete module?
Iceman
  • 321
  • 1
  • 6
  • 21
0
votes
2 answers

ZFCUser extend form

I am using Zendframework 2 with ZfcUser and ZfcUserDoctrineORM. I extended the normal user with some additional information. Now i want to adapt the registerForm. Therefor i created this form in the ZfcUser\Form folder: class UserRegister extends…
Iceman
  • 321
  • 1
  • 6
  • 21
0
votes
1 answer

How to enable the GoalioRememberMe ( Remember Me feature for ZfcUser )

i`m trying to use https://github.com/goalio/GoalioRememberMe to get the "Remember Me" functionality for "ZfcUser" module for Zend Framework 2. What i did to enable the plugin : add 'GoalioRememberMe' modeule in: /config/application.config.php copy …
Andrei Stanca
  • 908
  • 2
  • 11
  • 26
0
votes
1 answer

ZfcUser - Check user login for every route

The question is : How to check user login for every route in the application ? I already think about the solution that create a base controller which has a checking function and then every other controller will extend from this one. And I will put…
Dzung Nguyen
  • 9,152
  • 14
  • 65
  • 104
0
votes
1 answer

ZfcUser registration complications

My problem is that ZfcUser module isnt working properly at OpenShift hosting. Locally on my PC everything is OK i can register and log in but uploaded its not possible. There is no even errors showing up. Everything it says is "Authentication…
user1650441
  • 455
  • 3
  • 12
0
votes
1 answer

Unable to override route via DI

I'm attempting to override the routes provided by ZfcUser using akrabat's method, however it doesn't seem to have any effect. I'm starting by rebasing the routes from /user to /users but will want to add other routes later on (should be simple if I…
Ross
  • 46,186
  • 39
  • 120
  • 173
-1
votes
1 answer

ZfcUser add additional checks at login

I have an active and inactive users. How do I add a check to authorize only those who have is_active = 1
-2
votes
1 answer

How to get the validation errors to a array and show them in the view using ajax?

i am using zf2 and i am new to ajax and zf2. i used a bootstrap modal to open the form as a modal dialog. i have set an initial status value as -1. then if the data saved then it will become 0. and if not it will return 1. so if the form is not…
1 2 3
12
13