I am trying to get a custome login to work with auth. Here is my code: auth.settings.hmac_key='9562af3a-c7f5-4582-8322-b0efa4fe307b' SQLField("password", 'password', readable=False, label='Password', requires=CRYPT(key=auth.settings.hmac_key)), passwd = hmac.new(auth.settings.hmac_key, request.get_vars.password, hashlib.sha512).hexdigest()
However, when I register a user and then try to login, the encrypted keys are different, and it won't authenticate... why is it that using the same key the passwords are encrypted differently? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.