Skip to content

Commit c2bf7fd

Browse files
committed
chore: update README.md
1 parent da94952 commit c2bf7fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+19
-7924
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ If you love it don't forget to share your experience. If you want to contribute
2121
- [Available Scripts](#available-scripts)
2222
- [Setup](#setup)
2323
- [File Structure](#file-structure)
24+
- [Application Security](#application-security)
2425
- [Contributing](#contributing)
2526
- [License](#license)
2627
- [Acknowledgement](#acknowledgement)
@@ -160,6 +161,16 @@ app
160161

161162
---
162163

164+
## Application Security
165+
166+
### Throttle
167+
168+
By default Throttle has been implemented on API endpoints in [Truthy Backend API](https://github.com/gobeam/truthy)
169+
170+
### Two Factor Authentication (2FA)
171+
172+
User Will have 2FA authentication option available to be turned on or off. For 2FA time-based one-time password is used. A time-based one-time password (TOTP) application automatically generates an authentication code that changes after a certain period of time. Applications like [Authenticator](https://play.google.com/store/apps/details?id=com.azure.authenticator&hl=en&gl=US), [1Password](https://support.1password.com/one-time-passwords/), [Authy](https://authy.com/guides/github/) etc. can be used to generate TOTP. When you enable 2FA, you will be sent a QR code in your email which should be scanned from above mentioned application and TOTP will be generated by those applications.
173+
163174
## Contributing
164175

165176
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

app/containers/App/saga.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ export function* handleAuthenticateOtp() {
9797
id: uuid(),
9898
});
9999
} catch (error) {
100+
if (error.data?.message) {
101+
yield showMessage({
102+
type: 'error',
103+
message: error.data?.message,
104+
translate: false,
105+
id: uuid(),
106+
});
107+
}
100108
yield put(otpCodeErrorAction());
101109
return yield put(asyncEndAction());
102110
}

app/scss/volt.scss

Lines changed: 0 additions & 45 deletions
This file was deleted.

app/scss/volt/_components.scss

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/scss/volt/_functions.scss

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/scss/volt/_layout.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

app/scss/volt/_mixins.scss

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/scss/volt/_reboot.scss

Lines changed: 0 additions & 30 deletions
This file was deleted.

app/scss/volt/_utilities.scss

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)