Skip to content
Snippets Groups Projects
Commit b3a8a16d authored by James Calfee's avatar James Calfee
Browse files

Remove auto 1 prefix on phone numbers (breaks Norway numbers) #498

parent 6ee88396
No related branches found
No related tags found
No related merge requests found
...@@ -104,10 +104,6 @@ export default function useEnterAndConfirmMobilePages(app) { ...@@ -104,10 +104,6 @@ export default function useEnterAndConfirmMobilePages(app) {
return; return;
} }
if(mobile.length === "9998887777".length) {
mobile = `1${mobile}`
}
const eid = yield models.Identity.findOne( const eid = yield models.Identity.findOne(
{attributes: ['id'], where: {user_id, provider: 'email', verified: true}, order: 'id DESC'} {attributes: ['id'], where: {user_id, provider: 'email', verified: true}, order: 'id DESC'}
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment