PHP-Auth
PHP-Auth copied to clipboard
Authentication for PHP. Simple, lightweight and secure.
Hello, I'm currently experiencing a random logout issue while using the PHP-Auth library in my application, predominantly on Windows machines. macOS users do not seem to experience this problem. The...
Is there a way to create a JWT on login and store it in the database to get it on the login request ? (and disable all Sessions & Cookies...
Is this compatible? So far I'm unable to get it working. Redis is installed and PHP is configured for user sessions. This is confirmed working using below snippet. Each time...
Is it possible to check if user is already verified to avoid resendConfirmationForEmail?
I build application where session is started by another function. Example: `new \DB\SQL\Session($this->db, 'sessions', false, NULL, 'CSRF');` This function create new session and add session data (CSRF token) to DB....
Hy, today, i'm update this lib (regarding 2FactorAuth) with follow composer(v2.4.4) cmd's: - update - reinstall - remove and install again with require (test all with new installation and new...
Do there exist any kind of pre-built starter templates for the common forms like register, login, forgot, etc.? Something already wired to use PHP-Auth as a foundation? Thank you!
on line 27 in /Database/PostgreSQL.sql is a comma too much on the end of the line: `CREATE TABLE IF NOT EXISTS "users_2fa" ( ...... "expires_at" INTEGER DEFAULT NULL CHECK ("expires_at"...
Can I use a SCHEMA for all tables needed for PHP-Auth? I created all tables with the prefix `phpauth.`, but the code doesn´t refer to these tables. Instead of, another...
A couple of the CREATE TABLE commands had trailing commas after the last column definition, which causes a syntax error (tested on PostgreSQL 16). This pr removes those commas.