Comments (6)
Github is not the appropriate place to discuss your problem beacuse It is not a PHP-Auth issue.
I'm not familiar with the mentioned framework. What is in your login.html?
from php-auth.
Hi,
it seems your login form not contain email field or the name is not exactly email.
from php-auth.
@zfarkas88 the code is locate at mine controller page AuthController.php and form will be at login.html . Please help. how do i go about this?
from php-auth.
</div>
</form>
from php-auth.
It's hard to help anyone when they don't do the basics:
In the future, when posting code to Github issues, please wrap your code in the triple backticks aka ` three times. It should go without saying, but you really should remove any sensitive information from anything you post here. Without wrapping your code in the ``` code goes here ``, causes major readability problems or in the case of your HTML, complete destruction of the code you are trying to show us. Take a half hour to read over how to use a markdown editor.
This issue isn't with Fat Free Framework or PHPAuth so this issue should be closed out. but I'll give you a hint:
If you are finding that $_POST array is empty or doesn't have your expected values, you need to back to the basics and try and understand if your form is actually posting to PHP the way you think it is. Here's a good resource that explains better what I'm talking about: https://stackoverflow.com/questions/4526273/what-does-enctype-multipart-form-data-mean.
Depending on how your form is constructed, you may be sending with a different encoding type. This happens often when people copy/paste code from examples they see online.
A great explainer on POSTed data from forms via PHP. https://stackoverflow.com/questions/8893574/php-php-input-vs-post
Hope this helps, but I think this issue should be closed out.
from php-auth.
Thank you, @maietta and @zfarkas88 !
from php-auth.
Related Issues (20)
- How do I remember the user after calling admin()->logInAsUserById? HOT 1
- Compatibility with Redis for User Sessions
- Random User Logout and Cookie Anomalies HOT 4
- $auth->forgotPassword creates fatal error HOT 2
- Use PHPAuth for a REST API ? HOT 1
- InvalidSelectorTokenPairException on every attempt to change password HOT 7
- periods in email addresses HOT 2
- Is compatible with php 8.1 ? HOT 2
- [php 8.2.4] - Deprecated: Automatic conversion of false to array is deprecated / multi-projects
- oAuth2 + PHP-auth implementation HOT 1
- The best way to send a re-confirmation email? HOT 5
- Encryption of PII HOT 1
- More documentation is required
- session is empty after redirect HOT 7
- Why use selector/token pair for password reset? HOT 1
- [Question] Logout everywhere after password reset. HOT 1
- Is there any kind of starter/boiler template for the frontend forms? HOT 4
- comma too many in PostgreSQL setup HOT 1
- use a SCHEMA for database tables HOT 1
- composer update - undefined method: isWaitingForSecondFactor() HOT 2
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 php-auth.