Craig Lambie
river guide Posts:88
|
04-08-2009 09:55 PM |
|
Hi There,
I have a DNN that requires Users to be verified before they can login.
Therefore when a user tries to login with an non authorised (unverified) account, they should be presented with a message along the lines of
"You need to click the link in the email we sent you, didn't get it? Request again click here"
This doesn't appear to happen?
Regards
C |
|
|
|
|
Chad Nash Posts:5260
|
04-10-2009 09:07 AM |
|
Hi. Typically what I believe should happen is that the user should then be presented with the the verification code textbox. Is the verification code textbox in the login template? What does happen currently? -Chad |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-13-2009 02:07 PM |
|
Nothing happens currently. It just clears the Username and password fields. C |
|
|
|
|
Chad Nash Posts:5260
|
04-17-2009 09:37 AM |
|
Hi. Is the verification token included in the login template? If so please try and duplicate this on betasprings.com or contact us/open a support ticket so that we can get edit rights to the site and see if we can duplicate it. I just tested this locally and wasn't able to duplicate it yet so we might have to drill down more specifically for this instance. -Chad |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-17-2009 11:45 PM |
|
Ok, I tried to create a user in Betasprings, maybe I don't know how it works to well. But. I created user test1234 pwd 1234567 The betasprings site doesn't appear to require verification? as I could just login, without actually clicking a link, which is where I am getting the error. How do you login as host on Betasprings? So I can change the user settings? |
|
|
|
|
Chad Nash Posts:5260
|
04-18-2009 09:26 AM |
|
Hi. You can sign in as username host with a password of dnnhost. -Chad |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-18-2009 02:50 PM |
|
Hi Chad, Great. I logged in as host, changed Betaspings to a Verified site. Now when I try to log in in DNN userscreen I get Enter Your Verification Code Whereas in Dynamic Login I get the Verification code box appearing, but not a warning/ or message. In my DL I don't even get that? However my user is not created using DNN core Registration either, it is made through Code: Dim objUserInfo As UserInfo = New UserInfo() Dim userControl As UserController = New UserController() Dim objRole As Roles.RoleInfo = New Roles.RoleInfo() Dim RoleController As Roles.RoleController = New Roles.RoleController() objUserInfo.DisplayName = Me.txtDisplayName.Text objUserInfo.Username = Me.txtUserName.Text objUserInfo.FirstName = "testF" objUserInfo.LastName = "testL" objUserInfo.Membership.Username = Me.txtUserName.Text objUserInfo.Membership.Password = Me.txtPassword.Text objUserInfo.Email = Me.txtEmailAddress.Text objUserInfo.PortalID = Me.PortalId objUserInfo.Membership.Approved = False Dim strUCS = UserController.CreateUser(objUserInfo) But I don't see how this would effect the issue? |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-21-2009 04:47 PM |
|
so... Chad... Is this by Design? Or should a warning come up? And if so, can you customise it? |
|
|
|
|
Chad Nash Posts:5260
|
04-22-2009 12:57 PM |
|
Craig, Hi. We should probably compared your version # to whats on Beta Springs then. When you go to host, module definitions what is the specific version it shows you are running on? I just checked the code, when the verification is rendered its coded to replace the token [DNN_LABEL_VERIFICATION] with a label and [DNN_TEXT_VERIFICATION] with the textbox. There is not currently another label or message setup to be displayed, maybe we will later add something like [DNN_LITERAL_VERIFICATION] can can display another literal or text property when the verification is enabled? -Chad |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-22-2009 03:06 PM |
|
Hi Chad, I have v02.20.20 , and it doesn't say "Update Available"? That would be great. I think given how dynamic it should be, it would be nice to customise the warning. Given I designed my own "verification" method, it is kind of important that I offer them something. Can you maybe redirect based on ability to login? ie. Failed Login Completion Event ? |
|
|
|
|
Chad Nash Posts:5260
|
04-24-2009 09:19 AM |
|
Hi. I have added this to the next release/build of the 3.0 version (the specific [DNN_LITERAL_VERIFICATION] token. I still need to test it but it will be in the next patch. You can't redirect based on the failed login but you can modify that message that is displayed to the user because its a localized variable. We have plans in the future to utilize the 'Update Available' implementation that DNN exposes but our modules currently do not make use of that at this time. That being said... If you purchased the collection you should find the 3.0 version under downloads, otherwise you can review our upgrade policy to upgrade from 2.2. at http://www.datasprings.com/Upgrade-Policy Thanks, Chad |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-27-2009 02:38 PM |
|
Great, thanks! I have upgraded to v 3.0 Need that Upgrade for [DNN_LITERAL_VERIFICATION] to work I guess. I am still getting nothing when a none Authorised user tries to Login. |
|
|
|
|
Craig Lambie
river guide Posts:88
|
04-27-2009 02:40 PM |
|
Another Question - When you have the RoleType Rules applied, it creates a "continue..." link which they have to click to be redirected as per the rule. Why doesn't the user just get redirected? |
|
|
|
|