|
|
@@ -44,6 +44,23 @@
|
|
|
<input class="form-control" type="text" name="settingForm[security:passport-google:clientSecret]" value="{{ settingForm['security:passport-google:clientSecret'] || '' }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="col-xs-6 col-xs-offset-3">
|
|
|
+ <div class="checkbox checkbox-info">
|
|
|
+ <input type="checkbox" id="bindByUserName-Google" name="settingForm[security:passport-google:isSameUsernameTreatedAsIdenticalUser]" value="1"
|
|
|
+ {% if settingForm['security:passport-google:isSameUsernameTreatedAsIdenticalUser'] %}checked{% endif %} />
|
|
|
+ <label for="bindByUserName-Google">
|
|
|
+ {{ t("security_setting.ldap.Treat username matching as identical") }}
|
|
|
+ </label>
|
|
|
+ <p class="help-block">
|
|
|
+ <small>
|
|
|
+ {{ t("security_setting.ldap.Treat username matching as identical_warn") }}
|
|
|
+ </small>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
</fieldset>
|
|
|
|
|
|
<div class="form-group" id="btn-update">
|