Validate Login Details

Soma Sekhar M
Tera Contributor

I have a one custom application that will contain a user registration form , login form , varieties of books with their description and price.

When I submit details from login page i need to validate user name and password of the registered users how can i write a code to validate? if its valid i will display the list of books otherwise give an alert like enter a valid username and password.

13 REPLIES 13

Vasantharajan N
Giga Sage
Giga Sage

Its best practice to extend the sys_user table which helps you to reuse the exiting features in the platform for your custom requirement. 

 

if required, Installation Exit is to be customized. But make sure you validate the request is from the expected portal so that you wont break the current authentication using sys_user table. 

 

VasantharajanN_0-1670398699567.png

 


Thanks & Regards,
Vasanth

Hi vasantharajan Thanks for your Swift response Here I am sharing More details of my Requirement.

 

SomaSekharM_0-1670405079398.png

This is My login Form After Submitting The details its validating and capturing i don't want capture i just need evaluate with user details with my custom table.

SomaSekharM_1-1670405184909.png

 

for validate the user details i used the script Include and i called it from client side for your reference i am pasting the code here.

 

client Script

SomaSekharM_2-1670405352321.png

 

Script Include

SomaSekharM_3-1670405415653.png

 

 

 

May I know the Password field type that you configured in your custom table?


Thanks & Regards,
Vasanth

password type is 1way encrypted