Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mongoauth + skipEmailValidation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
alexmnyc  
View profile  
 More options Oct 12 2012, 6:31 pm
From: alexmnyc <a.mikhai...@gmail.com>
Date: Fri, 12 Oct 2012 15:31:20 -0700 (PDT)
Local: Fri, Oct 12 2012 6:31 pm
Subject: mongoauth + skipEmailValidation

Does anyone know how to enable email validation using mongoauth module
developed by Tim?

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AGYNAMIX Torsten Uhlmann  
View profile  
 More options Oct 13 2012, 4:06 am
From: AGYNAMIX Torsten Uhlmann <T.Uhlm...@agynamix.de>
Date: Sat, 13 Oct 2012 10:06:03 +0200
Local: Sat, Oct 13 2012 4:06 am
Subject: Re: [Lift] mongoauth + skipEmailValidation

I've looked a bit into it and this is what I think happens:

- the user class implements a flag "verified" which corresponds to the "validated" flag of MegaProtoUser
- There is a method in User "handleLoginToken" that is activated with a special token link (see below) and if the link is correct the user is verified and logged in
This method is currently used when an existing user forgot his password.

- When an existing user forgot his password the method "User.sendLoginToken" sends the token mail.

Now, there seems to be nothing in the module to send that mail after a user registers. To do that, I would suggest:

- Change the LoginToken to add some param that says this is only verification, like "&verify=true". You need that flag later in "handleLoginToken" to decide where to go after the token has been successfully applied. Right now it always goes to a page where you can change your password, you may want to go straight to the index page.

- Change the "RegisterScreen" finish method to send a verification email. Better yet I would think, add a method to the user that handles the creation of a user record with all the collected data and then asks a flag whether to send the verification email (a bit like MegaProtoUser). That way you can change the way users register and don't have to duplicate the behavior.

That's what I have learned so far from the module.

I'd like @Tim to either correct or confirm it.

Hope that helps,
Torsten.

Am 13.10.2012 um 00:31 schrieb alexmnyc <a.mikhai...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alexmnyc  
View profile  
 More options Oct 13 2012, 2:36 pm
From: alexmnyc <a.mikhai...@gmail.com>
Date: Sat, 13 Oct 2012 11:36:41 -0700 (PDT)
Local: Sat, Oct 13 2012 2:36 pm
Subject: Re: [Lift] mongoauth + skipEmailValidation

Thank you, Torsten!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »