NetTalk Central

Author Topic: Login and Registration with One Time Password OTP  (Read 2971 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Login and Registration with One Time Password OTP
« on: March 16, 2014, 12:47:54 PM »
Hi
NTWS
Has anyone got some example code to  Register to be able to Login later?
UserName:
Password:
MobileNo:
EmailAddress:
Click Request OTP and wait for OTP via Mobile and/or EMail? Then enter the OTP
OTP:
Click Register
Any improvement on this?
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: Login and Registration with One Time Password OTP
« Reply #1 on: March 22, 2014, 12:42:08 PM »
How do I get the prompts and everything else more to the left and make then all fit inside the "window"?

If user clicks menu choice Login/Register - if already registered then just enter Login and Password - otherwise click on Register Tab and fill in the blanks - must then click on something like Obtain OTP (One Time Password) which will be sent via mobile and /or email. After receiving this - the OTP must be entered.
NOW - I cannot also have login and Password on this tab  as it is not allowed.
Where does one embed code per tab - to make tab Login being selected after OTP has successfully been entered - OTP must be verified against data base connected to mobile no and/or email address. Or Login can be mobile no or email address? And OTP can be initial Password?

Any thoughts on this?

Cannot make the columns on Register tab as mandatory because when you just want to login these columns would not be filled?

You can visit http://www.medxinfo.co.za to see what I'm dealing with.

[attachment deleted by admin]
« Last Edit: March 23, 2014, 03:18:25 PM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: Login and Registration with One Time Password OTP
« Reply #2 on: March 23, 2014, 03:17:49 PM »
Hi

You can visit http://www.medxinfo.co.za to see what I'm dealing with.

Thx!
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Login and Registration with One Time Password OTP
« Reply #3 on: March 23, 2014, 10:12:28 PM »
>> How do I get the prompts and everything else more to the left and make then all fit inside the "window"?

The width of the window is set on the Layout tab of the form. If you make it a bit wider then the comments should fit in on.

<< NOW - I cannot also have login and Password on this tab  as it is not allowed.

Not allowed by who?

cheers
Bruce
« Last Edit: March 23, 2014, 10:14:22 PM by Bruce »