فهرست منبع

add the message that prompt to restart after changing authentication mechanism

Yuki Takei 8 سال پیش
والد
کامیت
c8efee3f28
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      lib/views/admin/security.html

+ 2 - 1
lib/views/admin/security.html

@@ -103,6 +103,7 @@
       <form action="/_api/admin/security/mechanism" method="post" class="form-horizontal" id="mechanismSetting" role="form">
         <fieldset>
         <legend>認証機構設定</legend>
+          <p class="alert alert-info"><b>NOTE: </b>Reboot the server and apply the changes</p>
           <div class="form-group">
             <div class="col-xs-6">
               <h4>
@@ -205,7 +206,7 @@
       $(this).submit(function()
       {
         function showMessage(formId, msg, status) {
-          $('#' + formId + ' .alert').remove();
+          $('#' + formId + ' > .alert').remove();
 
           if (!status) {
             status = 'success';