nodebb-plugin-sso-facebook 3.6.5 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-sso-facebook",
3
- "version": "3.6.5",
3
+ "version": "4.0.0",
4
4
  "description": "NodeBB Facebook SSO",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -29,6 +29,6 @@
29
29
  "passport-facebook": "~1.0.2"
30
30
  },
31
31
  "nbbpm": {
32
- "compatibility": "^1.17.0"
32
+ "compatibility": "^3.0.0"
33
33
  }
34
34
  }
@@ -1,8 +1,8 @@
1
1
  <div class="row">
2
- <div class="col-xs-12">
3
- <div class="panel panel-default">
4
- <div class="panel-heading">Facebook Social Authentication</div>
5
- <div class="panel-body">
2
+ <div class="col-12">
3
+ <div class="card">
4
+ <div class="card-header">Facebook Social Authentication</div>
5
+ <div class="card-body">
6
6
  <p>
7
7
  Create a <strong>Facebook Application</strong> via the
8
8
  <a href="https://developers.facebook.com/apps/">Facebook Developers Page</a> and
@@ -20,27 +20,27 @@
20
20
  </ul>
21
21
  </p>
22
22
  <form role="form" class="sso-facebook-settings">
23
- <div class="form-group">
23
+ <div class="mb-3">
24
24
  <label for="app_id">Application ID</label>
25
25
  <input type="text" id="app_id" name="app_id" title="Application ID" class="form-control" placeholder="Application ID"><br />
26
26
  </div>
27
- <div class="form-group">
27
+ <div class="mb-3">
28
28
  <label for="secret">Secret</label>
29
29
  <input type="text" id="secret" name="secret" title="Secret" class="form-control" placeholder="Secret">
30
30
  </div>
31
- <div class="checkbox">
32
- <label for="autoconfirm" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
33
- <input type="checkbox" class="mdl-switch__input" id="autoconfirm" name="autoconfirm" />
34
- <span class="mdl-switch__label">Skip email verification for people who register using SSO?</span>
31
+ <div class="form-check">
32
+ <input type="checkbox" class="form-check-input" id="autoconfirm" name="autoconfirm" />
33
+ <label for="autoconfirm" class="form-check-label">
34
+ Skip email verification for people who register using SSO?
35
35
  </label>
36
36
  </div>
37
- <div class="checkbox">
38
- <label for="disableRegistration" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
39
- <input type="checkbox" class="mdl-switch__input" id="disableRegistration" name="disableRegistration" />
40
- <span class="mdl-switch__label">Disable user registration via SSO</span>
37
+ <div class="form-check">
38
+ <input type="checkbox" class="form-check-input" id="disableRegistration" name="disableRegistration" />
39
+ <label for="disableRegistration" class="form-check-label">
40
+ Disable user registration via SSO
41
41
  </label>
42
42
  </div>
43
- <p class="help-block">
43
+ <p class="form-text">
44
44
  Restricting registration means that only registered users can associate their account with this SSO strategy.
45
45
  This restriction is useful if you have users bypassing registration controls by using social media accounts, or
46
46
  if you wish to use the NodeBB registration queue.
@@ -1,4 +1,4 @@
1
- <div class="form-group">
1
+ <div class="mb-3">
2
2
  <label for="email">Email Address</label>
3
3
  <input type="email" id="email" name="email" class="form-control" />
4
4
  <p class="help-block">
@@ -1,9 +1,9 @@
1
- <div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
2
- <div class="panel panel-default">
3
- <div class="panel-heading">
4
- <h3 class="panel-title">[[user:sso.dissociate-confirm-title]]</h3>
1
+ <div class="col-12 col-sm-8 col-offset-sm-2 col-md-6 col-offset-md-3">
2
+ <div class="card">
3
+ <div class="card-header">
4
+ <span class="fs-4">[[user:sso.dissociate-confirm-title]]</span>
5
5
  </div>
6
- <div class="panel-body">
6
+ <div class="card-body">
7
7
  [[user:sso.dissociate-confirm, {service}]]
8
8
 
9
9
  <hr>