Verified Commit 293d234f authored by Peter Stanko's avatar Peter Stanko
Browse files

Fix in current user - should not contain parenteses

parent b51c5f31
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ class AuthService:
            throws(bool): Throws an exception if the token is not valid
        Returns(Bool):
        """
        user = GitlabService(token=token, token_type='oauth').current_user()
        user = GitlabService(token=token, token_type='oauth').current_user
        if not user or user.username != username:
            if throws:
                log_auth_w(f"Login: gitlab authorization failed for - {username}")