added totp support

This commit is contained in:
ston1th 2018-10-27 16:05:17 +02:00
commit bac08dc7cf
16 changed files with 448 additions and 32 deletions

View file

@ -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