portal/src/auth.py
def authorize(passwd):
	"check if a password is correct"
	for line in passwords:
		if crypt.crypt(passwd, line[:2]) == line:
			return 1
check if a password is correct
check if a password is correct
check if a password is correct
def authorize(passwd):
	for line in passwords:
		if crypt.crypt(passwd, line[:2]) == line:
			return 1
def authorize ( passwd ) : for line in passwords : if crypt . crypt ( passwd , line [ : 2 ] ) == line : return 1
check if a password is correct
check if a password is correct
"check if a password is correct"
passwd