Skip to content

Commit

Permalink
Issue backdrop#2090: Turn off user pictures by default.
Browse files Browse the repository at this point in the history
By @BWPanda, @jenlampton, @indigoxela, and @klonos.
  • Loading branch information
Peter Anderson committed Oct 17, 2020
1 parent cf65c8f commit bdc63e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion core/modules/system/config/system.core.json
Expand Up @@ -83,7 +83,7 @@
"user_password_reject_weak": false,
"user_password_strength_threshold": 50,
"user_password_reset_timeout": 86400,
"user_pictures": 1,
"user_pictures": 0,
"user_picture_path": "pictures",
"user_picture_default": "",
"user_picture_style": "thumbnail",
Expand Down
8 changes: 0 additions & 8 deletions core/profiles/standard/standard.install
Expand Up @@ -169,14 +169,6 @@ function standard_install() {
->set('node_post_pattern', 'posts/[node:title]')
->save();

// Enable user picture support and set the default to a square thumbnail option.
config('system.core')
->set('user_pictures', '1')
->set('user_picture_dimensions', '1024x1024')
->set('user_picture_file_size', '800')
->set('user_picture_style', 'thumbnail')
->save();

// Create an initial post to welcome users on install.
$post = new Node(
array(
Expand Down

0 comments on commit bdc63e7

Please sign in to comment.