asp.net - 使用 Secret Manager 工具配置测试帐户以设置密码
问题描述
我已经从本教程中共享的链接下载了该项目:
按照文章中提到的步骤为测试帐户(管理员、管理员)设置密码。在 PowerShell 中使用以下命令:
dotnet user-secrets set SeedUserPW Password@123
Successfully saved SeedUserPW = Password@123 to the secret store.
构建项目并运行它。仍然无法使用admin@contoso.com和 PowerShell 中使用的密码登录。
解决方案
推荐阅读
- powershell - 确定类驻留在哪个模块中
- react-native - 我可以将 TopTabNavigator 与 react-navigation 放在一起吗?
- c - windows wolfssl 升级中 asn.h 中的编译错误
- javascript - 在终端中产生动画打字效果
- python - Django:基于另一个表中设置的最小最大值的查询集过滤
- c++ - 基于字符串创建一个类的数组
- c# - 如何使用 C# 根据文本文件的值显示名称?
- reactjs - ReactJS 将文本值发布到 API
- c++ - 是否可以添加类模板专业化并影响此类的先前用法?
- python - 在父类中实现继承方法