MKP 2.4.1, removed token parameter, switch to app password parameter only

This commit is contained in:
mellis
2024-01-12 14:12:05 +01:00
parent 714990bffb
commit 05415a8d1d
4 changed files with 25 additions and 30 deletions

View File

@@ -26,19 +26,19 @@ def _valuespec_special_agent_nextcloud():
elements=[
("hostname", TextAscii(title=_("Hostname"),
allow_empty=False,
help=_("Hostname of Nextcloud server (bare FQDN or IP, IP not tested), mandatory"))),
size = 40,
help=_("Hostname of Nextcloud server (bare FQDN or IP), mandatory, eg. nextcloud.yourdomain.tld"))),
("username", TextAscii(title=_("Username"),
size = 40,
allow_empty=False,
help=_("Username with administrative rights, mandatory"))),
("password", Password(title=_("Password"),
allow_empty=True,
help=_("Specify password OR token, not both, token recommended"))),
("token", IndividualOrStoredPassword(title=_("App Password"),
allow_empty=True,
help=_("Specify password OR token, not both, token recommended"))),
("password", IndividualOrStoredPassword(title=_("App Password"),
size = 40,
allow_empty=False,
help=_("Specify app password, mandatory, use Personal Settings|Security|Devices and Sessions within the NC UI to create one for the given user"))),
("port", TextAscii(title=_("Port"),
allow_empty=True,
help=_("Specify port if not listening to HTTPS, optional"))),
help=_("Specify port if not listening to HTTP(S), optional"))),
("folder", TextAscii(title=_("Folder"),
allow_empty=True,
help=_("Specify subfolder if your Nextcloud instance is not installed in the web root, no trailing/leading slashes, optional"))),