@vivinkv28/strapi-2fa-admin-plugin 0.1.9 → 0.1.10
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/README.md +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -122,6 +122,20 @@ host-patch/
|
|
|
122
122
|
|
|
123
123
|
These are the files you can copy into your Strapi project to get the same admin OTP UI pattern.
|
|
124
124
|
|
|
125
|
+
If you want to view the same host patch files on GitHub, use:
|
|
126
|
+
|
|
127
|
+
- [host-patch folder](https://github.com/vivinkv6/strapi-admin-2fa-plugin/tree/master/host-patch)
|
|
128
|
+
- [apply-strapi-admin-2fa-patch.js](https://github.com/vivinkv6/strapi-admin-2fa-plugin/blob/master/host-patch/apply-strapi-admin-2fa-patch.js)
|
|
129
|
+
- [services/auth.js](https://github.com/vivinkv6/strapi-admin-2fa-plugin/blob/master/host-patch/strapi-admin-2fa-patch/services/auth.js)
|
|
130
|
+
- [services/auth.mjs](https://github.com/vivinkv6/strapi-admin-2fa-plugin/blob/master/host-patch/strapi-admin-2fa-patch/services/auth.mjs)
|
|
131
|
+
- [pages/Auth/components/Login.js](https://github.com/vivinkv6/strapi-admin-2fa-plugin/blob/master/host-patch/strapi-admin-2fa-patch/pages/Auth/components/Login.js)
|
|
132
|
+
- [pages/Auth/components/Login.mjs](https://github.com/vivinkv6/strapi-admin-2fa-plugin/blob/master/host-patch/strapi-admin-2fa-patch/pages/Auth/components/Login.mjs)
|
|
133
|
+
|
|
134
|
+
That gives users both options:
|
|
135
|
+
|
|
136
|
+
- install from npm and copy the bundled files
|
|
137
|
+
- inspect the admin UI source directly on GitHub before integrating it
|
|
138
|
+
|
|
125
139
|
## What The UI Patch Does
|
|
126
140
|
|
|
127
141
|
The bundled host patch changes the Strapi admin login flow to:
|