You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... meaning you can register multiple times with the same username. Consider making this a UNIQUE field in your database as a start :)
CREATE TABLE users (
id SERIAL PRIMARY KEY,
username VARCHAR(100) NOT NULL UNIQUE,
is_admin BOOLEAN NOT NULL,
pass VARCHAR(100) NOT NULL,
email VARCHAR(100) NOT NULL
);
The text was updated successfully, but these errors were encountered:
... meaning you can register multiple times with the same username. Consider making this a UNIQUE field in your database as a start :)
The text was updated successfully, but these errors were encountered: