PHP-Auth
PHP-Auth copied to clipboard
Authentication for PHP. Simple, lightweight and secure.
First of all, great library! I'm building an application and I must document the database. So, I would like to know: why use a selector/token pair instead of just 1...
I have a login form on login.php that action's form go to LoginController.php In LoginController.php I have this: ``` require_once '../vendor/autoload.php'; $db = \Delight\Db\PdoDatabase::fromDsn(new \Delight\Db\PdoDsn('mysql:dbname=blabla;host=localhost;charset=utf8mb4', 'blabla', 'blabla')); $auth = new...
Hi, Thank you for the amazing work on this project; I really appreciate the effort behind it. I’d like to request a feature: Passkey integration. I noticed there’s already a...
When we try to retrieve user information after calling $auth->confirmEmailAndSignIn() using $auth->getUserId(), it returns the user ID of the previously logged-in user instead of the newly registered one. The flow...
Hi, I use this component for years but sincec several months, I have a problem I can't fix : login failed after some hours. I added sole log on my...
I get the following when testing a pretty basic setup on PHP 8.4.3. It looks like it's this deprecation (https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated) and I'm wondering if there's a roadmap to make this...
Hello, I use this admin()->logInAsUserById(123); But if need return to Admin User, need logout and login again. Is possible return admin? Thanks
Is there a proper way to grab user information by ID, email, or username, then pass it through the developer's own User class? There seems to be no method for...