NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva 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
-
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
-
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
-
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
-
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
-
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