PHP-Auth
PHP-Auth copied to clipboard
comma too many in PostgreSQL setup
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" >= 0)**,** );
The same on line 49.
Thank you!
This will be fixed shortly, along with other updates coming.
Ugh, turns out it was not “shortly” after all. Sorry for the huge delay!
Fixed in https://github.com/delight-im/PHP-Auth/commit/5609c80af07c4a32554c2351e7c5de879fb69b98