*: rewrite user settings to use a single page

This commit is contained in:
Jens Langhammer
2020-11-22 20:30:26 +01:00
parent be8cc77086
commit fcf763ed3e
21 changed files with 218 additions and 242 deletions

View File

@ -18,7 +18,7 @@ from structlog import get_logger
from passbook.core.exceptions import PropertyMappingExpressionException
from passbook.core.signals import password_changed
from passbook.core.types import UILoginButton, UIUserSettings
from passbook.core.types import UILoginButton
from passbook.flows.models import Flow
from passbook.lib.models import CreatedUpdatedModel
from passbook.policies.models import PolicyBindingModel
@ -249,9 +249,9 @@ class Source(PolicyBindingModel):
return None
@property
def ui_user_settings(self) -> Optional[UIUserSettings]:
def ui_user_settings(self) -> Optional[str]:
"""Entrypoint to integrate with User settings. Can either return None if no
user settings are available, or an instanace of UIUserSettings."""
user settings are available, or a string with the URL to fetch."""
return None
def __str__(self):