Skip to content

Commit 7d989cf

Browse files
oliv3rclaude
andcommitted
Fixed: Correct misleading docstring on Authenticator.log_off()
The docstring was copy-pasted from is_authenticated() and described checking authentication state, not logging off. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
1 parent 5815480 commit 7d989cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/lib/authentication/authenticator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ def get_authentication_token(self) -> Optional[str]:
9393
return self.__hander.get_authentication_token()
9494

9595
def log_off(self, username, force=True):
96-
""" Check if the user with the given name is currently authenticated.
96+
""" Logs off the currently authenticated user, clearing stored tokens.
9797
98-
:param str username: The username to log off
98+
:param str username: The username to log off.
99+
:param bool force: If True, log off regardless of whether the stored
100+
username matches the given one.
99101
100102
"""
101103

0 commit comments

Comments
 (0)