added totp support
This commit is contained in:
parent
1681a2b4a0
commit
bac08dc7cf
16 changed files with 448 additions and 32 deletions
|
|
@ -68,7 +68,7 @@ func initServer(conf core.Config) (err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
log.Println("gowiki started")
|
||||
log.Println("gowiki " + conf.Version + " started")
|
||||
sigs := make(chan os.Signal)
|
||||
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
|
||||
sig := <-sigs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue