Get a password

def password_input(*args, **kwargs):
    '''
    Get a password
    '''
    password_input = wtforms.PasswordField(*args, **kwargs)
    password_input.input_type = 'password'
    return password_input