Skip to content

Simple user login and signup API using PHP and JS

License

Notifications You must be signed in to change notification settings

lelouch77/LOGIN_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOGIN_API

Simple user login and signup framework using PHP and JS with keepme signin option and session table, automatic mail for verification and forgot password.

For Signing in

		function login()
		{
			 var user=new User(username,password);
			 var keepme='FALSE';//For keepme signed in.
				  if($('#keepMeLogin').is(":checked"))
				  {
					  keepme='TRUE';
				  }
			 user.logIn(keepme,loginAction);
		}

For Signing Up

		function logup()
		{
			 var record=new Record(firstname,lastname,email,password,true);
			 record.register(signUpAction);
		}

Licence

MIT Licence

Enjoy :)

About

Simple user login and signup API using PHP and JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published