code: def send_login_instructions(user):
      
      token = generate_login_token(user)
      login_link = url_for_security('token_login', token=token, _external=True)
  
      _security.send_mail(config_value('EMAIL_SUBJECT_PASSWORDLESS'), user.email,
                          'login_instructions', user=user, login_link=login_link)
  
      login_instructions_sent.send(app._get_current_object(), user=user,
                                   login_token=token)
docs: Sends the login instructions email for the specified user.
  
      :param user: The user to send the instructions to
      :param token: The login token