Skip to content

Commit

Permalink
Merge pull request #258 from quexten/fix/prelogin-url
Browse files Browse the repository at this point in the history
Fix auth url by moving it to identity server
  • Loading branch information
quexten authored Jul 19, 2024
2 parents 3c3c549 + bc133ee commit a938090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/agent/bitwarden/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func LoginWithApiKey(ctx context.Context, email string, cfg *config.Config, vaul

func LoginWithMasterpassword(ctx context.Context, email string, cfg *config.Config, vault *vault.Vault) (LoginResponseToken, crypto.MasterKey, string, error) {
var preLogin preLoginResponse
if err := authenticatedHTTPPost(ctx, cfg.ConfigFile.ApiUrl+"/accounts/prelogin", &preLogin, preLoginRequest{
if err := authenticatedHTTPPost(ctx, cfg.ConfigFile.IdentityUrl+"/accounts/prelogin", &preLogin, preLoginRequest{
Email: email,
}); err != nil {
notify.Notify("Goldwarden", fmt.Sprintf("Could not pre-login: %v", err), "", 0, func() {})
Expand Down

0 comments on commit a938090

Please # to comment.