Skip to content

Commit a93e247

Browse files
authored
Add option to allow banned users to login
1 parent 38eb41c commit a93e247

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

static/templates/admin/plugins/session-sharing.tpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@
8383
NodeBB to automatically sync up the local profile with the information provided.
8484
</div>
8585
</div>
86+
<div class="checkbox">
87+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
88+
<input class="mdl-switch__input" type="checkbox" id="allowBannedUsers" name="allowBannedUsers" />
89+
<span class="mdl-switch__label"><strong>Allow banned users to be logged in and placed into banned user group</strong></span>
90+
</label>
91+
<p class="help-block">
92+
By default banned users arent logged in and an error is thrown. If enabled, banned users are logged in and placed in the banned group.
93+
</p>
94+
</div>
8695
<div class="checkbox">
8796
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
8897
<input class="mdl-switch__input" type="checkbox" id="syncGroupJoin" name="syncGroupJoin" />

0 commit comments

Comments
 (0)