Comments (17)
forgotten_password_check uses a token, not the straight code. Can you make sure you're on the latest commit?
from codeigniter-ion-auth.
i am facing the same problem as wscdn. To make sure i am using the latest commit. i have downloaded it again but $user = $this->ion_auth->forgotten_password_check($code) still returns NULL. Kindly help
from codeigniter-ion-auth.
Is a valid code being passed in?
from codeigniter-ion-auth.
It was working in earlier version of Ion Auth but not working in this latest Ion Auth and this is the CODE i have passed:
also not working on live server:
from codeigniter-ion-auth.
Kindly help me
from codeigniter-ion-auth.
Hey, just got back from vacation. Are you able to reproduce this with a fresh download of Ion Auth in a brand new app? Or just in your existing app?
If only the existing app, can you email me a stripped down version of it that I can run locally to reproduce? Then I’ll see what I can figure out.
from codeigniter-ion-auth.
Thanks for replying. Please give me a day or two and i shall make a new small app just with the Login and Forgot Password and share it with you.
from codeigniter-ion-auth.
Sounds good!
from codeigniter-ion-auth.
Too excited after reading your generous reply, I immediately made a small app. Kindly check and solve this problem of mine. Please find the attached zip file. I use identity as Username and not Email. Login is Admin and Password is 123456.
from codeigniter-ion-auth.
Is this ok or shall i email you @ [email protected] ?
from codeigniter-ion-auth.
This works, thanks! I’ll review later today or tomorrow.
from codeigniter-ion-auth.
Thank you. i shall be waiting for it ...
from codeigniter-ion-auth.
Hey @BobMoir , I looked through it and found the issue.
Your hash fields are too small in your database. Right now they're varchar(40) but should be var_char(255), the 40 limitation is causing the hashes to be trucated when inserted into the database.
I would update all of the following fields:
activation_code
forgotten_password_code
remember_code
password
I would double check the other fields as well. Note the latest schema in github for reference:
https://github.com/benedmunds/CodeIgniter-Ion-Auth/blob/3/sql/ion_auth.sql
Take care!
from codeigniter-ion-auth.
THanks a lot. Now, the reset password page is opening but when i tried to change/reset password is says :
The field cannot exceed characters in length.
Kindly check
from codeigniter-ion-auth.
I'm not at a computer atm, troubleshoot that a bit and see. That's not an Ion Auth error message, sounds like a validation error or maybe a DB error...
from codeigniter-ion-auth.
Sorry, i just sent that message before i check out of excitement. Its my fault that i mixed my old codes with the new ones. in the earlier version |max_length[' . $this->config->item('max_password_length', 'ion_auth') . '] was there and in the new version max_password_length is removed and i did not remove it on the form validation. Now its working like a charm. Thank you thanks a lot.
from codeigniter-ion-auth.
Awesome, glad to hear it’s working!
from codeigniter-ion-auth.
Related Issues (20)
- Help me, how to call auth controller HOT 3
- install with composer problem HOT 1
- .
- Security Issue: Potential timing attack when using '===' to compare password hashes HOT 1
- The number of logged in users or even the list of logged in HOT 1
- Problems with autentification HOT 1
- Feature suggestion remember me
- Issue when using remember password and password need to be rehash, remember_code = null and cookie remember_code fail to match HOT 1
- Description of getUsersGroups() method is incorrect HOT 2
- ionAuth as CI4 service? (question) HOT 2
- Error when called from phpunit HOT 9
- Users can still log in using "Remember Me" cookies when the feature was disabled HOT 1
- Automatically Login user after successful registration in Codeigniter-3 | Ion_auth HOT 1
- Force user change password HOT 2
- Different behavior of session handle in local versus remote server HOT 3
- Unable to send e-mail HOT 3
- IonAuth - Codeigniter 4 - not working in php 8.2 HOT 4
- Unable to rehashed the Password HOT 2
- No 3.x releases - why? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-ion-auth.