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
We use the EmailType to store emails. Because emails are not case-sensitive, that type converts to lowercase before persisting the value to the database.
When migrating an existing database to keg-auth user model, emails stored there may not be lowercase. That breaks the expectations of EmailType for comparisons, and things like login and the forgot password form will not find the records.
We need to at least document this and related migration issues (such as #160). And, it may be helpful to provide a migration-related CLI task that will resolve these common issues.
The text was updated successfully, but these errors were encountered:
We use the
EmailType
to store emails. Because emails are not case-sensitive, that type converts to lowercase before persisting the value to the database.When migrating an existing database to keg-auth user model, emails stored there may not be lowercase. That breaks the expectations of
EmailType
for comparisons, and things like login and the forgot password form will not find the records.We need to at least document this and related migration issues (such as #160). And, it may be helpful to provide a migration-related CLI task that will resolve these common issues.
The text was updated successfully, but these errors were encountered: