diff options
author | Benjamin Morrison <ben@gbmor.dev> | 2021-10-21 21:31:17 -0400 |
---|---|---|
committer | Benjamin Morrison <ben@gbmor.dev> | 2021-10-21 21:35:23 -0400 |
commit | dd3d87bd97e41c77eea270812d338139fd87b9fc (patch) | |
tree | 5ee99ab38e00c41190f82bef4b08a298c914f329 /svc/sqlite.go | |
parent | dcb254618dc5541bb50c488c96b5e02c36951c06 (diff) | |
download | getwtxt-dd3d87bd97e41c77eea270812d338139fd87b9fc.tar.gz |
delete a user, new config option for admin pass. pass is bcrypt hashed on startup and not stored in plaintext.
Diffstat (limited to 'svc/sqlite.go')
-rw-r--r-- | svc/sqlite.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svc/sqlite.go b/svc/sqlite.go index 128aed3..98a4f93 100644 --- a/svc/sqlite.go +++ b/svc/sqlite.go @@ -64,6 +64,10 @@ func initSqlite() *dbSqlite { } } +func (lite *dbSqlite) delUser(userURL string) error { + return nil +} + // Commits data from memory to a SQLite database intermittently. func (lite *dbSqlite) push() error { if err := lite.db.Ping(); err != nil { |