Send verification emails in Meteor without accounts-password -


on meteor site, users can log in using oauth authentication particular provider (vkontakte). after logging in, on special page of site users can specify email address receive notifications. obviously, want verify address before notification sent.

standard instructions email verification find in meteor docs , in other sites use accounts-password package. that's ok, , can call sendverificationemail() email update code, problem accounts-password adds possibility local (non-oauth) registration. site rather tightly coupled oauth provider, not want have other way login site except via oauth provider, , not want have accounts-password package on site. or @ least want accounts-password have no effect user point of view except possibility send verification emails (no register buttons etc.)

is there way send verification emails without accounts-password package? or disable accounts-password functionality except email verification?

of course, can implement email verification manually (generate token, send email, setup route verification), if there more standard way this, i'd better stick it.

i solved copying accounts-password.js file server/lib , removing code did not need. not solution because if accounts-password wil updated, have update file manually, see no other way this.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -