NetTalk Central

Author Topic: NT and SW new user - login vs e-mail  (Read 5425 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
NT and SW new user - login vs e-mail
« on: February 27, 2012, 06:02:09 AM »
Hi,

How to create a new user where login id is not the same as e-mail

Thanks
Walter - SOFTVALE

rjmiller

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Email
Re: NT and SW new user - login vs e-mail
« Reply #1 on: March 02, 2012, 04:09:21 AM »
Did you ever get this working?

I had it working in previous version of Secwin and NT but with update to Secwin 6.08 and NT 6.23 it seems to be broken again.

Anyway, there is an embed in the SecwinWebLoginForm which should be commented out.  Also the extension WebLoginHere should have the checkbox "Make email and login the same" cleared.  Used to work for me.

Please let me know if you get any info.

  RJ
« Last Edit: March 02, 2012, 06:29:22 AM by rjmiller »

rjmiller

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Email
Re: NT and SW new user - login vs e-mail
« Reply #2 on: March 05, 2012, 06:32:25 AM »
Walter... guess this isn't a popular question.  If you haven't already solved this...

After a couple tries I got a response from Geoff in the newsgroup.  I have it working again after...

1.  Reimporting TXA's... utility template.
2.  Clear "login same as email" in webloginhere extension in secwebloginform procedure
3.  Comment out loc:login = loc:email in secwinwebloginform procedure source
4.  Modify "loc:password = ds_GetTempPassword(AppNum,pEmailAddress,,ds_CreateTempPassword)" to
           "loc:password =ds_GetTempPassword(AppNum,UDG:login,,ds_CreateTempPassword)" (per Geoff's instructions) in  secwinwebcreateuser procedure source

Not sure why I didn't try #4 on my own... seems sort of obvious.  Hope this helps you.

  RJ

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: NT and SW new user - login vs e-mail
« Reply #3 on: March 06, 2012, 07:00:05 AM »
Hi RJ,

I saw it to. i did all step but not working. the problem is, where into create new user form i enter the LOGIN i want to create. must i put a field to ask the LOGIN there? how SW knows what LOGIN i wanto to create?

regards,
Walter
Walter - SOFTVALE

rjmiller

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Email
Re: NT and SW new user - login vs e-mail
« Reply #4 on: March 10, 2012, 10:55:44 AM »
UDG:Login is the login that you entered in the create user form.

Insert it as follows:

 loc:password =ds_GetTempPassword(AppNum,UDG:login,,ds_CreateTempPassword)

  RJ

 

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: NT and SW new user - login vs e-mail
« Reply #5 on: March 13, 2012, 04:42:53 AM »
Hi RJMiller,

I want to define LOGIN when creating a new user from secwinloginform/create a login. in this case there is no login field, just email.

to tell you the true, i want to use this e-mail, test it from a database and if it ok set as login the a specific field from that database.

but i think to increase security, if the user when creating a login could enter login and email cause that i can verify on database if has email and if that e-mail is valid for that login, you know?

cheers
Walter - SOFTVALE