| 85 | } |
| 86 | |
| 87 | bool login_api::logout() |
| 88 | { |
| 89 | // Ideally, we should clean up the API sets that the previous user registered. |
| 90 | // However, the shared pointers to these objects are already saved elsewhere (in FC), |
| 91 | // so we are unable to clean up, so it does not make sense to reset the optional fields here. |
| 92 | _allowed_apis.clear(); |
| 93 | return false; |
| 94 | } |
| 95 | |
| 96 | string login_api::get_info() const |
| 97 | { |