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

add role in zfcuser form registration

i am using zfcuser, bjyauthorize et roleuserbridge. i want to add a field in the form registration. I followed this tutorial step : http://resoftsol.com/adding-custom-fields-to-zfcuser-register-form/ in the module front i have added : - the…
0
votes
1 answer

validate email Address using zf2. error message should be shown in the lable without refreshing the whole page

when I focus on the password field. I want to validate the email and show the error message on the page without refreshing the whole inputs that user has given. I need to validate this using the database. whether the email is exists or not. I think…
user3498966
0
votes
1 answer

How to implement something like by using zf2

I am using zf2 framework. So that i need to implement something like, i have tried to find it by search it on internet but i could not find any tutorials about this problem. Thanks
user3498966
0
votes
1 answer

Future Proofing Changes to Validation of Username/Password Field in ZFCUser

I've been looking around at how to change the actual validation process of the registration fields in the ZFCUser module in Zend Framework 2. There is a lot about extending and adding new fields etc. to the form but not validating these fields or…
Peter Featherstone
  • 7,835
  • 4
  • 32
  • 64
0
votes
1 answer

how to enable username field on registration form in zfcuser module of zend framework 2?

I used zfc user module for authentication of user in zend framework2,But it does not show username field at registration form but it does not show username field and give error: Statement could not be executed (23000 - 1048 - Column 'username'…
Muhammad Arif
  • 1,014
  • 3
  • 22
  • 56
0
votes
1 answer

Extending third party zend framework 2 modules

I have some 3rd party modules in vendor, which are zfcuser and hybridauth. I added some of my code in the Controller and View classes. While I updated composer packages and all packages are updated and all of my manual code is changed/removed with…
khunshan
  • 2,662
  • 4
  • 28
  • 34
0
votes
1 answer

ZF 2 with zfcuser

I am using zfcuser module of ZF 2. I would like to catch the provider name (like facebook,google,twitter) in VIEW. How can I get this ?? I searched a lot in google but could not find.
Foysal Vai
  • 1,365
  • 3
  • 13
  • 19
0
votes
1 answer

Zend Framework 2 modules collaboration

I'm starting to learn Zend Framework 2 and really interested in modular system of this framework. I want to make my own cms based on zf2 but I ran to a problem about module collaboration in zf2 , Let's clear my purpose with an example : I use…
Dante
  • 101
  • 12
0
votes
1 answer

How to not require email address for registration with ZfcUser

It is documented how to configure zfcUser to allow the username field on the registration form, and allow the user to login with either username or email. However, I want to allow a user to register with username only, not require an email address…
ChrisNY
  • 3,917
  • 4
  • 27
  • 31
0
votes
1 answer

How to forward to another route at Module.php without redirect?

I wish to show login form at page being accessed without url redirection. Is it possible to forward route at Module.php, i.e. if client accesses /stations/ forward it to "user/login" route? Without external redirect, I just want to see login form at…
shukshin.ivan
  • 11,075
  • 4
  • 53
  • 69
0
votes
3 answers

Zend/Session with ZfcUser

I'm using ZfcUser in my app and I need to control the timeout parameter. As it's not part of the configuration I would like to set my own Zend/Session object (with the remember_me_seconds param) to ZfcUser on bootstrap but I don't know how. By…
Guilhem Soulas
  • 1,975
  • 2
  • 18
  • 30
0
votes
2 answers

how to exclude some routes when user is not logged in zfcuser?

So, i am new in Zend Framework, i installed ZfcUser and i want when the user is not logged to didn't access to some routes for example : /blog/article/add, actually i use zfcUserIdentity()) :?> to check if the user is logged but how…
Mohammadov
  • 595
  • 3
  • 13
  • 34
0
votes
1 answer

ZfcUser - flash messages after user registration

I'm trying to add some flash messages after user registered $sharedManager->attach('ZfcUser\Service\User', 'register.post', function($e) use($serviceManager) { $user = $e->getParam('user'); $mail = new Mail\ActivateAccount($serviceManager,…
Grigory
  • 11
  • 3
0
votes
1 answer

ZF2 ZfcUser force login

I have a ZF2 with module ZfcUser setuped. Registration and Login forms are working fine. I made a custom module to connect to Linkedin and get the info of a user, then register the user data in the Database. The register part is done, but the…
0
votes
1 answer

How do I destroy the zfcuser session variable manually within ZF2?

Does anyone know how to destroy the Zfcuser session variable? If certain events occur I would like to end the session? I checked the wiki and the only discussion is about setting automatic timeout. I would like to destroy the session manually.
Greg.Forbes
  • 2,634
  • 4
  • 26
  • 29