Roughing in JWT-based authentication.
Todo: Actually utilize this stuff somewhere.
This commit is contained in:
parent
8dc07e3cc8
commit
be9e6481d0
8 changed files with 181 additions and 9 deletions
|
@ -43,10 +43,6 @@ func Create(path string) {
|
|||
if err != nil {
|
||||
log.Fatal("Error initializing migrations: ", err)
|
||||
}
|
||||
|
||||
pwd, err := os.Getwd()
|
||||
log.Print("current path: ", pwd)
|
||||
|
||||
err = migrator.Migrate()
|
||||
if err != nil {
|
||||
log.Fatal("Error applying migrations: ", err)
|
||||
|
|
Reference in a new issue