Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool IsOk(string username,string password)
- {
- for(int i=0;i<utilizatori.Count;i++)
- {
- if (utilizatori[i].Username == username && utilizatori[i].Password == password)
- {
- Authenticate.SetUsername(username);
- return ok = true;
- }
- }
- return ok;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement