This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/models/totp.js
konrad 99c10d49be
All checks were successful
continuous-integration/drone/push Build is passing
TOTP (#109)
Fix not telling the user about invalid totp passcodes when logging in

Add disabling totp authentication

Add totp passcode when logging in

Add totp settings

Add general post method function

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #109
2020-04-17 23:46:07 +00:00

11 lines
179 B
JavaScript

import AbstractModel from './abstractModel'
export default class TotpModel extends AbstractModel {
defaults() {
return {
secret: '',
enabled: false,
url: '',
}
}
}