Compare commits

..

No commits in common. "18af95c3eda65d18f6ed97fbc72d982298d67d38" and "3e764e79d803d52a3123380775f8e8d3e212f3a1" have entirely different histories.

4 changed files with 1 additions and 13 deletions

View File

@ -220,13 +220,6 @@ func checkAccountStatus(trackingId string) (string, error) {
return status, nil
}
func (fsd *fsData) quit(ctx context.Context, sym string, input []byte) (resource.Result, error) {
return resource.Result{
Content: "",
}, nil
}
var (
scriptDir = path.Join("services", "registration")
)
@ -245,7 +238,6 @@ func main() {
ctx := context.Background()
st := state.NewState(7)
st.UseDebug()
rfs := resource.NewFsResource(scriptDir)
ca := cache.NewCache()
cfg := engine.Config{
@ -282,7 +274,6 @@ func main() {
rfs.AddLocalFunc("create_account", fs.create_account)
rfs.AddLocalFunc("check_identifier", fs.checkIdentifier)
rfs.AddLocalFunc("check_account_status", fs.check_account_status)
rfs.AddLocalFunc("quit",fs.quit)
cont, err := en.Init(ctx)
if err != nil {

View File

@ -1,3 +1,2 @@
LOAD create_account 0
HALT
MOVE quit

View File

@ -1,2 +0,0 @@
LOAD quit 0
HALT

View File

@ -1,6 +1,6 @@
CATCH select_language 8 0
CATCH terms 9 0
LOAD check_account_status 0
CATCH account_pending 10 1
CATCH profile 11 1
LOAD check_account_status 0
HALT