Skip to content

Windows form that has two functions. Register; which registers the user to the database with a secure password (adding a salt and hashing it). Login; which logs the user in the account.

LesserKnownThings/Windows-Forms-RegisterLoginForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows-Forms-RegisterLoginForm

Windows form that has two functions. Register; which registers the user to the database with a secure password (adding a salt and hashing it). Login; which logs the user in the account.

BEFORE YOU TRY THIS PROJECT!

There are a couple of things that you need to do:



Create a database

You'll have to create a database and add a table named users with 3 columns User, Hash, Salt. You can add other columns as well, but you'll have to change the php scripts as well.



Create Server

You'll need a server to run the php scripts and connect to the database. The php scripts are located in the AccountForm/PhpFiles. You will need to add a couple of things in the helper.php script, open it up and you'll notice exactly what. After you added the needed things to the script, you will have to add the scripts to your server.

Add the uri to the project

If you want to change the files before opening the project go to AccountForm/AccountForm/Scripts/Misc/GlobalValues.cs and add the uri to the php uri's so that they can connect to the php and send the values. Or you can just open the project and do the same thing from the Scripts/Misc/GlobalValues.cs script.

Don't stress

If you have any questions you can always contact me here or here.

About

Windows form that has two functions. Register; which registers the user to the database with a secure password (adding a salt and hashing it). Login; which logs the user in the account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published