Set todoist migration redirect url to the frontend url by default
This commit is contained in:
parent
b3bb7395cd
commit
dcddaab7b5
3 changed files with 18 additions and 1 deletions
|
@ -198,7 +198,7 @@ migration:
|
||||||
# This is usually the frontend url where the frontend then makes a request to /migration/todoist/migrate
|
# This is usually the frontend url where the frontend then makes a request to /migration/todoist/migrate
|
||||||
# with the code obtained from the todoist api.
|
# with the code obtained from the todoist api.
|
||||||
# Note that the vikunja frontend expects this to be /migrate/todoist
|
# Note that the vikunja frontend expects this to be /migrate/todoist
|
||||||
redirecturl:
|
redirecturl: <frontend url>/migrate/todoist
|
||||||
trello:
|
trello:
|
||||||
# Wheter to enable the trello migrator or not
|
# Wheter to enable the trello migrator or not
|
||||||
enable: false
|
enable: false
|
||||||
|
|
|
@ -272,6 +272,19 @@ Full path: `service.enableemailreminders`
|
||||||
Environment path: `VIKUNJA_SERVICE_ENABLEEMAILREMINDERS`
|
Environment path: `VIKUNJA_SERVICE_ENABLEEMAILREMINDERS`
|
||||||
|
|
||||||
|
|
||||||
|
### enableuserdeletion
|
||||||
|
|
||||||
|
If true, will allow users to request the complete deletion of their account. When using external authentication methods
|
||||||
|
it may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands
|
||||||
|
for user deletion.
|
||||||
|
|
||||||
|
Default: `true`
|
||||||
|
|
||||||
|
Full path: `service.enableuserdeletion`
|
||||||
|
|
||||||
|
Environment path: `VIKUNJA_SERVICE_ENABLEUSERDELETION`
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## database
|
## database
|
||||||
|
|
|
@ -374,6 +374,10 @@ func InitConfig() {
|
||||||
AuthOpenIDRedirectURL.Set(ServiceFrontendurl.GetString() + "auth/openid/")
|
AuthOpenIDRedirectURL.Set(ServiceFrontendurl.GetString() + "auth/openid/")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if MigrationTodoistRedirectURL.GetString() == "" {
|
||||||
|
MigrationTodoistRedirectURL.Set(ServiceFrontendurl.GetString() + "migrate/todoist")
|
||||||
|
}
|
||||||
|
|
||||||
if MigrationTrelloRedirectURL.GetString() == "" {
|
if MigrationTrelloRedirectURL.GetString() == "" {
|
||||||
MigrationTrelloRedirectURL.Set(ServiceFrontendurl.GetString() + "migrate/trello")
|
MigrationTrelloRedirectURL.Set(ServiceFrontendurl.GetString() + "migrate/trello")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue