diff --git a/cmd/zrok/create.go b/cmd/zrok/create.go index dc9e6f92..7c8e348b 100644 --- a/cmd/zrok/create.go +++ b/cmd/zrok/create.go @@ -1,10 +1,10 @@ package main import ( + "fmt" "github.com/openziti-test-kitchen/zrok/rest_client_zrok/identity" "github.com/openziti-test-kitchen/zrok/rest_model_zrok" "github.com/openziti/foundation/v2/term" - "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) @@ -43,7 +43,7 @@ func (cmd *createAccountCommand) run(_ *cobra.Command, _ []string) { panic(err) } if confirm != email { - panic("email mismatch") + fmt.Println("entered emails do not match... aborting!") } zrok, err := newZrokClient() @@ -58,5 +58,6 @@ func (cmd *createAccountCommand) run(_ *cobra.Command, _ []string) { if err != nil { panic(err) } - logrus.Infof("account request submitted") + + fmt.Printf("registration invitation sent to '%v'!\n", email) } diff --git a/ui/src/Register.js b/ui/src/Register.js index bfb67f8a..ec6b714d 100644 --- a/ui/src/Register.js +++ b/ui/src/Register.js @@ -73,8 +73,15 @@ const Success = (props) => { return (
{props.token}+
You can proceed to the zrok web portal and log in with your email and password.
+ +To enable your shell for zrok, use this command:
+ ++ $ zrok enable {props.token} +