Commit d544b45c authored by Minkush Jain's avatar Minkush Jain

adding user's password parameter in the script to make it a standalone script.

parent 9634ffc3
......@@ -18,7 +18,7 @@ browser.get('')
# In GUI, the email, name would already be stored from sign-up module
# Then, user only needs to enter username and password
def create_salsa_account(user_name, full_name, user_email):
def create_salsa_account(user_name, full_name, user_email, user_password):
username = browser.find_element_by_id('username_prefix')
......@@ -48,6 +48,6 @@ if __name__ == '__main__':
full_name = input('Enter Name: ')
user_email = input('Enter email: ')
user_password = input('Enter password: ')
create_salsa_account(user_name, full_name, user_email)
create_salsa_account(user_name, full_name, user_email, user_password)
print('Congrats! Your new Salsa account has been created.')
print('Check your mail for further instructions')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment