Example #1
0
<<<<<<< HEAD


    if SkyRealmDatabaseAPI.profanity_filter(username.lower()) == "Profanity!":
        print "Invalid username, username may not contain vulgar language!"



    if len(password) < 4:
        print "Password must exceed 4 characters!"
    elif len(password) > 16:
        print "Password must be less than 16 characters!"
    if password == username:
        print "password cannot be the same as your username!"
    else:
        SkyRealmDatabaseAPI.create_account(username, password, email)
        print "Success"
=======
    if SkyRealmDatabaseAPI.profanity_filter(username.lower()) == "Profanity!":
        print "Invalid username, username may not contain vulgar language!"
    elif len(password) < 4:
        print "Password must exceed 4 characters!"
    elif len(password) > 16:
        print "Password must be less than 16 characters!"
    elif password == username:
        print "password cannot be the same as your username!"
    else:
        SkyRealmDatabaseAPI.create_account(username, password, email)
        
>>>>>>> origin/master