aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-08-17 15:17:07 +0200
committerGitHub <noreply@github.com>2016-08-17 15:17:07 +0200
commit782390a80effe3dbf7071de137e026067b116c93 (patch)
tree3fba287c252e664bf6383a906c9eee386e541b4f /src/Wallabag/CoreBundle/Form/Type/ConfigType.php
parent9a5c5c330efba45aff2290bc196ec00c3f2de3b9 (diff)
parent0cecfa25367742907d4833d0b9d0e23d8046913d (diff)
downloadwallabag-782390a80effe3dbf7071de137e026067b116c93.tar.gz
wallabag-782390a80effe3dbf7071de137e026067b116c93.tar.zst
wallabag-782390a80effe3dbf7071de137e026067b116c93.zip
Merge pull request #2095 from wallabag/fix-2auth-form
Fix form user display when 2FA is disabled
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/ConfigType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/ConfigType.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
index 74c53bf0..7d25cc80 100644
--- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php
@@ -21,7 +21,9 @@ class ConfigType extends AbstractType
21 { 21 {
22 $this->themes = array_combine( 22 $this->themes = array_combine(
23 $themes, 23 $themes,
24 array_map(function ($s) { return ucwords(strtolower(str_replace('-', ' ', $s))); }, $themes) 24 array_map(function ($s) {
25 return ucwords(strtolower(str_replace('-', ' ', $s)));
26 }, $themes)
25 ); 27 );
26 28
27 $this->languages = $languages; 29 $this->languages = $languages;