瀏覽代碼

correct variable name

sou 8 年之前
父節點
當前提交
5559cf08a6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/views/login.html

+ 3 - 3
lib/views/login.html

@@ -42,12 +42,12 @@
         # The case that there already exists a user whose username matches ID of the newly created LDAP user
         # https://github.com/weseek/growi/issues/193
         #}
-        {% set failedProvider-DuplicatedUsernameException = req.flash('provider-DuplicatedUsernameException') %}
-        {% if failedProvider-DuplicatedUsernameException != null %}
+        {% set failedProviderForDuplicatedUsernameException = req.flash('provider-DuplicatedUsernameException') %}
+        {% if failedProviderForDuplicatedUsernameException != null %}
         <div class="alert alert-warning small">
           <p><strong><i class="icon-fw icon-ban"></i>DuplicatedUsernameException occured</strong></p>
           <p>
-            Your {{ failedProvider-DuplicatedUsernameException }} authentication was succeess, but a new user could not be created.
+            Your {{ failedProviderForDuplicatedUsernameException }} authentication was succeess, but a new user could not be created.
             See the issue <a href="https://github.com/weseek/growi/issues/193">#193</a>.
           </p>
         </div>