Created InitialSetup method that handles all steps required for starting the server for the first time

This commit is contained in:
Deluan
2020-01-20 15:17:43 -05:00
parent 398dfd04fc
commit 9e5ffaaff4
6 changed files with 108 additions and 42 deletions
+14
View File
@@ -0,0 +1,14 @@
package consts
import "time"
const (
InitialSetupFlagKey = "InitialSetupKey"
JWTSecretKey = "JWTSecretKey"
JWTIssuer = "CloudSonic"
JWTTokenExpiration = 30 * time.Minute
InitialUserName = "admin"
InitialName = "Admin"
)