added totp support
This commit is contained in:
parent
1681a2b4a0
commit
bac08dc7cf
16 changed files with 448 additions and 32 deletions
|
|
@ -7,4 +7,7 @@ const (
|
|||
WikiSection = "wiki"
|
||||
|
||||
IndexURI = WikiSection + "/" + IndexPage
|
||||
|
||||
LoginURI = "/login"
|
||||
TotpURI = "/totp"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ type User struct {
|
|||
Username string
|
||||
Password string
|
||||
Created string
|
||||
Secret string
|
||||
Admin bool
|
||||
Locked int
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue