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
ac04ba24
Commit
ac04ba24
authored
Jul 01, 2017
by
lain
Browse files
Larger bio length limit for remote accounts.
parent
9bdea19d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
ac04ba24
...
...
@@ -69,7 +69,7 @@ def remote_user_creation(params) do
|>
validate_required
([
:name
,
:ap_id
,
:nickname
])
|>
unique_constraint
(
:nickname
)
|>
validate_format
(
:nickname
,
@email_regex
)
|>
validate_length
(
:bio
,
max:
1
000
)
|>
validate_length
(
:bio
,
max:
5
000
)
|>
validate_length
(
:name
,
max:
100
)
|>
put_change
(
:local
,
false
)
end
...
...
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