question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use command line create project admin password has error!

See original GitHub issue

When i use command line create a new project dotnet new skoruba.is4admin --name MyProject --title MyProject --adminemail "admin@example.com" --adminpassword "Pa$$word123" --adminrole MyRole --adminclientid MyClientId --adminclientsecret MyClientSecret --dockersupport false

generate password actulay is not match Pa$$word123

file path is MyProject.Admin/identitydata.json json path is /IdentityData/Users/Password

here is generated!

{
  "IdentityData": {
    "Roles": [
      {
        "Name": "MyRole"
      }
    ],
    "Users": [
      {
        "Username": "admin",
        "Password": "Patempword123",
        "Email": "admin@example.com",
        "Roles": [
          "MyRole"
        ],
        "Claims": [
          {
            "Type": "name",
            "Value": "admin"
          }
        ]
      }
    ]
  }
}

password actulay is Patempword123

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
zwq000commented, May 8, 2020

Because the password is too simple and does not meet the requirements of identityuser password, the admin user cannot be created, resulting in the failure to log in

0reactions
dutysokcommented, Nov 24, 2020

I have Install Templates::1.0.0 ,When I create Project Using “–dockersupport true” and run/debuge in Visual Studio 2019, it cann’t add admin account to Users table.I try to Change identitydata.json data that password value .it still cann’t work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Admin password error
Make sure the account you are attempting the operations on is an admin account. Here are also some other methods to try: 1....
Read more >
How do I pass the password to a net use command which ...
1 Answer 1 · Use a variable for the password. set "password=b91A*9AIvPr%" net use \\192.168.40.40 /user:192.168.40.40\Administrator %password%.
Read more >
cmd syntax error net user password
Right click Computer Manage Local Users and Groups Users Right Click the user name Change Password .
Read more >
Windows Server 2012/16 "administrator password is blank" ...
Your current administrator account is Password protected. Create a password for the "Administrator" account, then the problem is solved.
Read more >
grafana-cli admin reset-admin password does not work if ...
@diogoim I can confirm that using the command line to reset admin user password : grafana-cli admin reset-admin-password will recreate an admin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found