久保田隼基 7 лет назад
Родитель
Сommit
842e4111a6
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      lib/views/admin/widget/passport/twitter.html

+ 3 - 3
lib/views/admin/widget/passport/twitter.html

@@ -30,7 +30,7 @@
         <input class="form-control" type="text" name="settingForm[security:passport-twitter:consumerKey]" value="{{ settingForm['security:passport-twitter:consumerKey'] || '' }}">
         <p class="help-block">
           <small>
-                {{ t("security_setting.Use env var if empty", "OAUTH_TWITTER_CALLBACK_URL") }}
+                {{ t("security_setting.Use env var if empty", "OAUTH_TWITTER_CONSUMER_KEY") }}
           </small>
         </p>
       </div>
@@ -42,13 +42,13 @@
         <input class="form-control" type="text" name="settingForm[security:passport-twitter:consumerSecret]" value="{{ settingForm['security:passport-twitter:consumerSecret'] || '' }}">
         <p class="help-block">
           <small>
-             {{ t("security_setting.Use env var if empty", "OAUTH_TWITTER_CALLBACK_URL") }}
+             {{ t("security_setting.Use env var if empty", "OAUTH_TWITTER_CONSUMER_SECRET") }}
           </small>
         </p>
       </div>
     </div>
 
-    <div class="form-group">
+        <div class="form-group">
       <label for="settingForm[security:passport-twitter:callbackUrl]" class="col-xs-3 control-label">{{ t("security_setting.callback_URL") }}</label>
       <div class="col-xs-6">
         <input class="form-control" type="text" name="settingForm[security:passport-twitter:callbackUrl]" value="{{ settingForm['security:passport-twitter:callbackUrl'] || '' }}">