X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6fc966f73c8a80580d47881a60ed38a132921e5b..9d9d76eb11d3cd854907adaacbef5812f9d0b996:/include/stg/users.h diff --git a/include/stg/users.h b/include/stg/users.h index b97a9be5..765fc14d 100644 --- a/include/stg/users.h +++ b/include/stg/users.h @@ -46,7 +46,9 @@ public: virtual bool Authorize(const std::string & login, uint32_t ip, uint32_t enabledDirs, const AUTH * auth) = 0; - virtual bool Unauthorize(const std::string & login, const AUTH * auth) = 0; + virtual bool Unauthorize(const std::string & login, + const AUTH * auth, + const std::string & reason = std::string()) = 0; virtual int ReadUsers() = 0; virtual size_t Count() const = 0;