I am trying to define a function which programmatically logs user in, e.g.
def program_login: # log-in code this may be useful for some callback situations, e.g. auth.settings.verify_email_onaccept.append(program_login) in which case, user gets automatically logged in only after he/she has verified his/her email. so far, I've only found so-called manual authentication in the manual: user = auth.login_bare(username, password) but I am not so sure if this is what I need for the case above. In particular, how could I obtain the corresponding password for the user here? And I suppose it is encrypted?