All Questions
Tagged with php authentication
157 questions
3
votes
1
answer
59
views
Wordpress custom registration form with additional fields
I work on plugin for custom auth pages for WordPress and I try to create a custom registration form with additional fields. it has a shortcode in Beaver Builder. Is this the correct approach, and ...
0
votes
1
answer
87
views
Authenticate and login script updated
How can I improve/secure my login script and how to check for any possible injection?
PS. the script must run on multiple platforms, so I need empty arrays for cases such as the Android ones.
UPDATES
...
0
votes
1
answer
76
views
Authenticate and login script
How can I improve/secure my login script and how to check for any possible injection?
PS. the script must run on multiple platforms, so I need empty arrays for cases such as the Android ones.
...
1
vote
1
answer
133
views
Authenticate and log in users
How can I improve my login script and how to check for any possible injection?
PS. the script must run on multiple platforms, so I need empty arrays for cases such as the Android ones.
user_table:
<...
10
votes
2
answers
3k
views
Is my PHP login system following best practices? Is the code really OOP?
I'm learning about OOP and putting my knowledge into practice.
I created a login system in PHP, so I wish someone could tell me if I'm on the right track. I feel like I'm getting better at coding, but ...
1
vote
1
answer
177
views
Login using two-factor authentication
I want to make the code below prettier but I don't know what to change and how to change. I know that the controller should be easy, delegating actions related to models or to services or something ...
4
votes
1
answer
86
views
Security of the login code on the website
I wrote the code to log in php to the admin panel. Everything works as it should. But I am not sure if it is well written code and if it is safe. I care about security. I have read a lot about it but ...
0
votes
1
answer
124
views
A wrapper for user authentication using cURL in PHP
So I created a wrapper class to authenticate user via POST HTTP request.
...
6
votes
1
answer
165
views
Basic login system with 2 factor authentication
What I try to achieve
I need to create a administration-panel for a website. Therefore, I need a possibility to protect the content of the panel via a password. The functionality doesn't have to be ...
2
votes
0
answers
446
views
PHP Secure Remember Me for Login using PHP Session and Cookies with referer url
I have followed a mysqli tutorial to create a login with cookies and session with remember me authentication in pdo.
in tutorial class had a new db_connection, I ...
3
votes
2
answers
4k
views
Codeigniter 3 Registration and Login System
I am working on a basic blog application in Codeigniter 3.1.8 and Bootstrap 4.
The application allows Registration and Login. I have concerns about the security level of the Registration system I ...
4
votes
3
answers
271
views
User management OOP php class
I found a class that i coded for an old project about a year ago and i haven't really touched php in a while. Now i need to use similar functionality again i thought it would be the perfect time to ...
2
votes
0
answers
59
views
Laravel testing for compatibility between old and new password-hashing schemes
I currently have an event listener tied to Laravel's Attempting class. The listener is designed to rehash an old password to something newer. The current DB stores ...
0
votes
1
answer
104
views
Login to a school system and get account type
I'm new to MySQL database design.
My question is this database is correctly built or not.
We used the users table to login and get account type
and here the code to login
...
2
votes
0
answers
164
views
WordPress rest api basic auth with IP check
I'd like to use basic auth with the WordPress API, but restrict the capability to a single IP address. I've updated the existing code from here: https://github.com/WP-API/Basic-Auth accordingly.
It ...