Commit Graph

4 Commits

Author SHA1 Message Date
Suriya
e48fb4cf57 Fix tenant onboarding creating admin users with configid=0
CreateTenantUser copied the tenant form's fields onto the new
app_users row via copier.Copy, but the onboarding form never sends a
configid, so it defaulted to 0. AppLogin's GetUserByAuthname always
queries configid=1 for the web login, so any tenant onboarded through
this path was permanently unable to log in by email ("Email not
found") no matter what was typed. Set it explicitly, same as roleid.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 17:13:58 +05:30
Suriya
7e9b3f98ba stores login fix 2026-07-09 18:03:44 +05:30
abe2cb997b stock request table created 2026-07-04 17:49:54 +05:30
Gokul
0d42ac84e1 initial commit 2026-05-25 11:52:26 +05:30