Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
66380b06
Commit
66380b06
authored
Dec 14, 2018
by
Ivan Tashkinov
Browse files
[
#114
] Removed `confirm_email` action stub (to be addressed in a separate MR).
parent
07e93f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/twitter_api/twitter_api_controller.ex
View file @
66380b06
...
...
@@ -333,8 +333,6 @@ def password_reset(conn, params) do
end
end
def
confirm_email
(
_conn
,
_params
),
do
:
:noop
def
update_avatar
(%{
assigns:
%{
user:
user
}}
=
conn
,
params
)
do
{
:ok
,
object
}
=
ActivityPub
.
upload
(
params
,
type:
:avatar
)
change
=
Changeset
.
change
(
user
,
%{
avatar:
object
.
data
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment