slight change to login

This commit is contained in:
EggMan20339 2024-04-04 10:15:57 -04:00
parent a560c4ee67
commit 68fb363339
2 changed files with 2 additions and 5 deletions

View File

@ -16,15 +16,12 @@ namespace FWA_MAIN
string username = Username.Text; string username = Username.Text;
string password = Password.Text; string password = Password.Text;
// Example authentication; replace with actual logic // I know this is not how to properly do credential checks, but I was limited on time
if (username == "admin" && password == "someonerandom") if (username == "admin" && password == "someonerandom")
{ {
FormsAuthentication.RedirectFromLoginPage(username, false); FormsAuthentication.RedirectFromLoginPage(username, false);
} }
else
{
// Show an error message or handle invalid login
}
} }
} }
} }