slight change to login
This commit is contained in:
parent
a560c4ee67
commit
68fb363339
@ -16,15 +16,12 @@ namespace FWA_MAIN
|
||||
string username = Username.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")
|
||||
{
|
||||
FormsAuthentication.RedirectFromLoginPage(username, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Show an error message or handle invalid login
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user