def set_token(password, save_salt):
    ' Store a token so it can be recalled later by token_generator.\n\n    param: password - the password to be stored\n    param: save_salt - the key to store the value of the token.'
    db = unitdata.kv()
    db.set(save_salt, password)
    return db.get(save_salt)
Store a token so it can be recalled later by token_generator.

param: password - the password to be stored
param: save_salt - the key to store the value of the token.
def set_token(password, save_salt):
    ' Store a token so it can be recalled later by token_generator.\n\n    param: password - the password to be stored\n    param: save_salt - the key to store the value of the token.'
    db = unitdata.kv()
    db.set(save_salt, password)
    return db.get(save_salt)