login_bare is so useful for accessing the database manually in mobile
application, is there anyway to let the users to register the website via
mobile application?
ex) register_bare(id,password) - Save it in the database - user is registered.
I wasn't able to find how I should make this
*Create this function in some model*
*
*
*def new_user(first_name, last_name, email, passw):
**users = db(db.auth_user.email==email).select()
**if users:
**return users[0].id
**else:
**my_crypt = CRYPT(key=auth.settings.hmac_key)
**
2 matches
Mail list logo