Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7c45c0b

Browse files
committed
fix(access): use active flag on User
1 parent 5847190 commit 7c45c0b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/octoprint/access/users.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,10 @@ def __init__(
957957

958958
self._settings = settings
959959

960+
@property
961+
def is_active(self):
962+
return self._active
963+
960964
def as_dict(self):
961965
from octoprint.access.permissions import OctoPrintPermission
962966

0 commit comments

Comments
 (0)