Set the crypt key :param _key: The key :param _new_login: Is fresh login or password change
(_key, _new_login=True)
| 14 | |
| 15 | |
| 16 | def set_crypt_key(_key, _new_login=True): |
| 17 | """ |
| 18 | Set the crypt key |
| 19 | :param _key: The key |
| 20 | :param _new_login: Is fresh login or password change |
| 21 | """ |
| 22 | current_app.keyManager.set(_key, _new_login) |
| 23 | |
| 24 | |
| 25 | def get_crypt_key(): |
no test coverage detected