summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/api/client/accounts/accountmove.go2
-rw-r--r--internal/api/client/accounts/accounts.go2
-rw-r--r--web/source/settings/user/migration.tsx8
3 files changed, 10 insertions, 2 deletions
diff --git a/internal/api/client/accounts/accountmove.go b/internal/api/client/accounts/accountmove.go
index 3698c06a3..4f311e106 100644
--- a/internal/api/client/accounts/accountmove.go
+++ b/internal/api/client/accounts/accountmove.go
@@ -31,6 +31,8 @@ import (
//
// Move your account to another account.
//
+// NOT IMPLEMENTED YET!
+//
// ---
// tags:
// - accounts
diff --git a/internal/api/client/accounts/accounts.go b/internal/api/client/accounts/accounts.go
index c94fbfbaa..000c27d78 100644
--- a/internal/api/client/accounts/accounts.go
+++ b/internal/api/client/accounts/accounts.go
@@ -113,5 +113,5 @@ func (m *Module) Route(attachHandler func(method string, path string, f ...gin.H
// migration handlers
attachHandler(http.MethodPost, AliasPath, m.AccountAliasPOSTHandler)
- attachHandler(http.MethodPost, MovePath, m.AccountMovePOSTHandler)
+ // attachHandler(http.MethodPost, MovePath, m.AccountMovePOSTHandler) // todo: enable this only when Move is completed
}
diff --git a/web/source/settings/user/migration.tsx b/web/source/settings/user/migration.tsx
index 7a8b934ac..ddfc71cdd 100644
--- a/web/source/settings/user/migration.tsx
+++ b/web/source/settings/user/migration.tsx
@@ -46,6 +46,10 @@ function UserMigrationForm({ data: profile }) {
return (
<>
<h2>Account Migration Settings</h2>
+ <div className="info">
+ <i className="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
+ <b>Moving your account to another instance, or moving an account from another instance to your account, isn't implemented yet! <a href="https://github.com/superseriousbusiness/gotosocial/issues/130" target="_blank" rel="noopener noreferrer">See here for progress</a>.</b>
+ </div>
<p>
The following settings allow you to <strong>alias</strong> your account to another account
elsewhere, and to <strong>move</strong> your followers and following lists to another account.
@@ -186,18 +190,20 @@ function MoveForm({ data: profile }) {
</a>
</div>
<TextInput
+ disabled={true}
field={form.movedToURI}
label="Move target URI"
placeholder="https://example.org/users/my_new_account"
/>
<TextInput
+ disabled={true}
type="password"
name="password"
field={form.password}
label="Confirm account password"
/>
<MutationButton
- disabled={false}
+ disabled={true}
label="Confirm account move"
result={result}
/>