Closed wunc closed 2 months ago
Also issue PROFILES-63
Illuminate\Database\QueryException
SQLSTATE[23000]: Integrity constraint violation: Duplicate entry for key 'role_user.PRIMARY' (SQL: insert into
role_user
(role_id
,user_id
) values (X, XXXX))
Disable login button on submit (and/or maybe add some sort of loading animation) to avoid possible errors by the user double-clicking the button instead of single-clicking.
See Sentry error PROFILES-5D for an example. An integrity constraint violation occurred because it tried to add the same user twice to the DB.