goalio / goalioforgotpassword Goto Github PK
View Code? Open in Web Editor NEWA Zend Framework 2 (ZF2) Module offering forgot password via e-mail functionality to ZfcUser
License: BSD 3-Clause "New" or "Revised" License
A Zend Framework 2 (ZF2) Module offering forgot password via e-mail functionality to ZfcUser
License: BSD 3-Clause "New" or "Revised" License
I am using goalioforgotpassword, for forgot password functionality also I have zfc-user handling the users log-in and authentication stuffs. My problem is the zfc-user log-in view is being overridden by the zfc-user log-in template here in this module. Is there a way to configure so that i won't have this issue.
Thank You in Advance.
Is it possible to incorporate both modules with ZfcUser? I can do one or the other but not both?
Hi,
thanks for your piece of code! How have I to set the SMTP configuration in your module?
thanks
When I'm trying to execute sql-code from ./vendor/goalio/goalio-forgotpassword/data/schema.sql I get this message:
#1005 - Can't create table 'my_table.user_password_reset' (errno: 150)
Mysql server: 5.5.34-0ubuntu0.12.04.1
Mysql client: 5.5.34
Please update dependency zf-commons/zfc-user
to fresh versions (3.0.0).
maybe other also.
thanks
HI, I would like to do few more validations check before resetting a password, like checking if the previously used password is entered? I could do this by tweaking the Goalio vendor class, but would like to do it from my app with out changing anything on the Core plugin.
Any Help will highly be appreciated.
Hi,
there should be a validator to validate if user with given e-mail exists in db. Now, when i enter e-mail which does not exist, it will return "A reminder has been sent to your e-mail address *****". Thats not true at all.
Test is a must.
Hello,
I have tried to set the reset expire time to 2592000 (30 days) in the file goalioforgotpassword.global.
However, all the records with the reset key have been reset after 24h, as if it was still the default value.
Is this configuration parameter currently available with the last version?
Is there a specific reason?
I'm trying to maintain one function call to handle the specificity of a password constraint. I'm doing it fine with ZfcUser's filter, but can't keep it controlled with this service.
For now, I'm going to override the Service Call 'goalioforgotpassword_reset_form' and modify the filter in there, though, I don't think it's best case to do that.
Any suggestions, thoughts?
should be PasswordHydrator.pnp instead of PasswortHydrator.php.
I installed the modules with doctrine ... the base is correct put options, the configs, files ..and email process and sent the email, but not enough anything ..
Could someone help me?
I installed everything as per instructions are given on GitHub page. I created a table in my MySQL database. I get the forgot-password page , as soon as I enter email , this error comes out. I have no idea why this error came ?
Hello goalio,
I just installed your module for forgotten password (I already use your module for remember_me) and it is exactly what I was searching for my own Zend Application.
I saw some problems with your forgot password module:
I hope my message can help you improve your module.
Have a nice day
Need either BSD or MIT license to use this package... Can the license file be added to the package?
hello
i tried using composer to upload the module but i get the following error message:
Problem 1
- goalio/goalio-forgotpassword 1.0.2 requires zf-commons/zfc-user 1.* -> no matching package found.
- goalio/goalio-forgotpassword 1.0.1 requires zf-commons/zfc-user 1.* -> no matching package found.
- goalio/goalio-forgotpassword 1.0.0 requires zf-commons/zfc-user 1.* -> no matching package found.
- Installation request for goalio/goalio-forgotpassword 1.* -> satisfiable by goalio/goalio-forgotpassword[1.0.0, 1.0.1, 1.0.2].
Potential causes:
below is my json file; i did an update of the json file (prior to trying to download the package) and it worked fine.
"php": ">=5.3.3",
"zendframework/zendframework": "2.3.",
"zf-commons/zfc-user": "~0.1.2",
"doctrine/doctrine-orm-module": "0.",
"zf-commons/zfc-user-doctrine-orm": "0.",
"zendframework/zend-developer-tools": "dev-master",
"slm/mail": "~1.5",
"bjyoungblood/bjy-authorize": "1.4.",
"acelaya/zf2-acmailer": "4.*"
i would really appriciate any advice on how to download it.
warm regards
How I can override those params?:
'view_manager' => array(
'template_path_stack' => array(
'goalioforgotpassword' => DIR . '/../view',
),
'template_map' => array(
'zfc-user/user/login' => DIR . '/../view/zfc-user/user/login.phtml',
),
),
I need to change those variables to look for my own templates.
I read this issue #13 but I can't find the solution for me, I thought implement my own controller using your service but I want to know if there are any other solution.
Thanks, Antonio.
It would be nice to have Doctrine integration, since ZfcUser has too.
Is there a way to override the email template, replacing it with my own? If not, I can add that to the ForgotOptionsInterface and do a PR.
The problem is in the forgotController on line 83. When a use doesn't exist the mapper returns false and on line 83 the is a check if the use is not null.
Install the GoalioRememberMe with the following line:
"require": {
"goalio/goalio-forgotpassword": "1.*"
}
and when I send mail, I get the following problem:
Zend\ServiceManager\Exception\ServiceNotCreatedException: An exception was raised while creating "goaliomailservice_transport"; no instance returned
Zend\Mail\Exception\InvalidArgumentException:
Zend\Mail\Transport\FileOptions::setPath expects a valid path in which to write mail files; received "data/mail/"
I have the latest version of Zf2, GoalioForgotPassword, GoalioMailService and ZfcUser. No further ThirdParty Moduls. In the database the value is changed and the message "A reminder has been sent to your e-mail address..." appears. But no Email is sent. Zend\Mail on the server is working. Thanks for any help.
Hello,
It would be great if the forgotten password email is configurable and there is a possibility to be sent as plain text or html.
Could we expect this enhancement soon?
Thank you in advance!
composer.json file:
"zf-commons/zfc-base" : "dev-master",
"zf-commons/zfc-user" : "dev-master",
"goalio/goalio-forgotpassword" : "dev-master",
$ php composer.phar update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for goalio/goalio-forgotpassword dev-master -> satisfiable by goalio/goalio-forgotpassword dev-master.
- Conclusion: don't install zf-commons/zfc-base 0.0.1
- Conclusion: remove zf-commons/zfc-base dev-master|install zf-commons/zfc-base 0.0.1
- goalio/goalio-forgotpassword dev-master requires zf-commons/zfc-base 0.* -> satisfiable by zf-commons/zfc-base 0.0.0, zf-commons/zfc-base 0.0.1, zf-commons/zfc-base 0.1.0.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base 0.0.0.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base 0.1.0.
- Installation request for zf-commons/zfc-base dev-master -> satisfiable by zf-commons/zfc-base dev-master.
When I try to install through composer I get an error that no stable version is available. I attempted to just download and install manually however that results in an error as well. ('Module (GoalioForgotPassword) could not be initialized)
Hi,
I don't understand why but even with the appplication module after zfcuser and GoalioForgotPassword in the application.config.php, my login.phtml don't override the default in vendor.
Click "request new password" ->
PHP Fatal error: Call to undefined method GoalioForgotPassword\Mapper\Password::cleanPriorForgotRequests() in vendor/goalio/goalio-forgotpassword/src/GoalioForgotPassword/Service/Password.php on line 54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.