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
2
votes
0 answers

How to make ZfcUser use an abstract db_adapter

I'm using Zend Framework 2 and I've installed the module ZfcUser. Everything was working correctly until I've decided to add a second db adapter in my config/autoload/global.php array( 'adapters' => array( …
Cyril F
  • 1,842
  • 2
  • 19
  • 35
2
votes
1 answer

Zend framework 2 + Android Mobile + ZfcUser Authentication

I need to authenticate via Android on my website (Zend Framework2+ZfcUser+ZfcUserDoctrineORM). I want to call an url that authenticate me and return a json object that contains my session_id. I don't know if it is the correct way but whatever i…
booradleys
  • 21
  • 4
2
votes
2 answers

ZF2 best practice to change core classes of the vendor module?

I did read this answer ZF2, what's the best practice for working with Vendor Module's Form classes?. So it's mainly clear how to change configurable parts of the vendor module, but what do I do if in zfcUser module I want to add new functionality to…
Brock
  • 1,635
  • 2
  • 18
  • 27
2
votes
1 answer

Disable default zfcUser routes?

I'm using zfcUser and I was wondering if its possible to disable the default routes, such as zfcUser/login, zfcUser/register, etc because I do not want to expose them. I looked at the zfcuser.global.php but there seems to be no such option? Thanks
KaiserJohaan
  • 9,028
  • 20
  • 112
  • 199
2
votes
1 answer

Select field with zfcuser and custom module

I've started last week learning ZF2. I've succesfully installed the skeleton application and the ZfcUser module. I decided to edit the registration form as suggested in the ZfcUser…
IamFraz
  • 136
  • 1
  • 1
  • 5
2
votes
1 answer

Zend Framework-2: Best way to protect all Controllers? (ZfcUser/HybridAuth)

I am using ZfcUser via HybridAuth for enabling Facebook Authentication in Zend Framework 2. I downloaded the scn-social-auth module and added into my project. Now, the Controller user under ZfcUser module is protected. That is, if I am not logged…
2
votes
2 answers

Zend Framework 2 - ZFCUser module installation

I need an authentication module for my ZF2 project. ZFCUser seems to be good and I installed it sucessfully. But now I'm a bit lost due to the lack of any further documentation (or I just don't know where to look for it). 1) I want to include…
Ron
  • 22,128
  • 31
  • 108
  • 206
2
votes
3 answers

zfcUser getState in another module

how could i getState from zfcUser in view/index.phtml i get it from $this->zfcUserIdentity()->getState(); but now i need to get this value ( state for this user who is logged in ), in other module /controller (this is my costum module…
5er_dev
  • 91
  • 5
2
votes
2 answers

How to attach custom styles into zf2 forms

Maybe its obvious problem but could you please tell me how can I add custom css styles to forms created by standard view helpers in zend framework 2? Im trying to attach some styles to forms created by ZfcUser
user1650441
  • 455
  • 3
  • 12
1
vote
0 answers

ZF3: SharedEventManager injection in EventManager for ZfcUser

I'm trying to modify the form of zfcuser and found this explanation: https://github.com/ZF-Commons/ZfcUser/wiki/How-to-modify-the-form-objects-used-by-ZfcUser However it's not working like expected. After some debugging last night I found the one…
bigandini
  • 106
  • 8
1
vote
1 answer

zfcuser + doctrine custom user entity

I'm working on a project with zf2, and the zfcuser module with doctrine. I have created a custom user module that extends zfcuser, also a custom entity for the user table, and make all the necessary changes for the integration. But my problem is…
1
vote
1 answer

Cannot find event from looking at ZfcUser User Mapper code

I was reading the UserMapper code from the ZfcUser Zend Framework Module because i thought i could get a general concept of using zends auth system before i build out mine and was curious about something. In it (click here), on line 19, we have the…
somejkuser
  • 8,856
  • 20
  • 64
  • 130
1
vote
1 answer

Zend2 - how to forward other module controller?

Controller forwarding - is a great feauture, and I made widget conception with it. But by default it can't dispatch controller of non-self module. To resolve this problem(and also to avoid contoller configuration at all), I added abstaract_factory…
Alexander Goncharov
  • 1,572
  • 17
  • 20
1
vote
1 answer

ZfcUser login with IP Address [Zend Framework 2]

I am using zfcuser want to login with IP Address instead of asking user for password, IP's are stored in DB and user need to enter his/her username/email for authentication, IP is retrieved from db using authenticate.pre event My Code is…
1
vote
0 answers

An exception was raised while creating "zfcuser"; no instance returned

I have installed ZfcUser with composer in my freshly installed Zend Framework skeleton. It is working fine on localhost, but when I deploy it on my production server it gives me error like this: An exception was raised while creating "zfcuser"; no…
Bakhtawar GIll
  • 407
  • 5
  • 16
1 2
3
12 13