# Login System: Having troubles using several passwords and usernames

**URL:** <https://forum.kirupa.com/t/login-system-having-troubles-using-several-passwords-and-usernames/166071>\
**Category:** flash\
**Created:** [October 16, 2005, 8:21pm UTC](https://forum.kirupa.com/t/login-system-having-troubles-using-several-passwords-and-usernames/166071 "2005-10-16T20:21:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bl4ck1c3](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@bl4ck1c3](https://forum.kirupa.com/u/bl4ck1c3)\
**Post date:** [October 16, 2005, 8:21pm UTC](https://forum.kirupa.com/t/login-system-having-troubles-using-several-passwords-and-usernames/166071/1 "2005-10-16T20:21:32Z")

</div>

Hi there !!!

I was trying to create a login into a flash movie, so a created the username and the password fields and i was trying to login with diferent usernames and passwords… but when i chose a username any password of my list is valid and I just want one password for each username !!  
The code is here:

```auto
 
send_btn.onRelease = function() { 
if (user eq "admin" or "log" or "nome" & pass eq "codigo" or "word" or "test") {
gotoAndStop ("done");
} else {
gotoAndStop ("denied");
}
} 

```

I need some help !
