Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 25, 2024
1 parent 6575f64 commit 50f0fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions selfservice/strategy/profile/two_step_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (s *Strategy) PopulateRegistrationMethod(r *http.Request, f *registration.F
type RegistrationScreen string

const (
//lint:ignore G101 This is not a real credential.
//nolint:gosec (G101): This is not a real credential.
RegistrationScreenCredentialSelection RegistrationScreen = "credential-selection"

Check failure on line 76 in selfservice/strategy/profile/two_step_registration.go

View workflow job for this annotation

GitHub Actions / Run tests and lints

G101: Potential hardcoded credentials (gosec)
RegistrationScreenPrevious RegistrationScreen = "previous"
)
Expand Down Expand Up @@ -206,8 +206,8 @@ func (s *Strategy) displayStepTwoNodes(ctx context.Context, w http.ResponseWrite
regFlow.UI.Messages.Add(text.NewInfoSelfServiceChooseCredentials())

regFlow.UI.Nodes.Append(node.NewInputField(
"action",
"back",
"screen",
"previous",
node.ProfileGroup,
node.InputAttributeTypeSubmit,
).WithMetaLabel(text.NewInfoRegistrationBack()))
Expand Down

0 comments on commit 50f0fe1

Please sign in to comment.