Update src/Interpreters/Session.h

Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
This commit is contained in:
Konstantin Bogdanov 2024-04-30 14:54:34 +02:00 committed by GitHub
parent 36014f739a
commit 185e715fc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,8 +53,8 @@ public:
void authenticate(const String & user_name, const String & password, const Poco::Net::SocketAddress & address);
void authenticate(const Credentials & credentials_, const Poco::Net::SocketAddress & address_);
// Checks if user valid_until is higher than current time.
// Throws exception if valid_until is less than current time.
// Verifies whether the user's validity extends beyond the current time.
// Throws an exception if the user's validity has expired.
void checkIfUserIsStillValid();
/// Writes a row about login failure into session log (if enabled)