Skip to content

Commit

Permalink
登入页面增加默认用户密码
Browse files Browse the repository at this point in the history
  • Loading branch information
iioter committed Jan 16, 2022
1 parent 0247527 commit 7f59e9a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
Binary file modified .vs/IoTGateway/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file modified .vs/IoTGateway/v16/.suo
Binary file not shown.
2 changes: 2 additions & 0 deletions IoTGateway/IoTGateway.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<CopyRefAssembliesToPublishDirectory>true</CopyRefAssembliesToPublishDirectory>

<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>

<UserSecretsId>109f0b79-49c8-4cb6-9aa4-44ab3b35b753</UserSecretsId>
</PropertyGroup>


Expand Down
1 change: 0 additions & 1 deletion IoTGateway/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<WebPublishMethod>FileSystem</WebPublishMethod>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<ProjectGuid>68abbdf2-1485-4756-9a94-6afa874d69a3</ProjectGuid>
<SelfContained>false</SelfContained>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_PublishTargetUrl>E:\workbench\iotgateway\IoTGateway\bin\Release\net5.0\publish\</_PublishTargetUrl>
<History>True|2022-01-16T05:59:48.3664224Z;True|2021-12-24T19:18:19.0736393+08:00;True|2021-12-24T16:46:49.1192015+08:00;True|2021-12-24T16:23:28.9214784+08:00;True|2021-12-24T15:20:08.6401847+08:00;True|2021-12-17T19:11:07.1655146+08:00;True|2021-12-12T14:11:08.8380502+08:00;</History>
<History>True|2022-01-16T14:02:51.6829056Z;True|2022-01-16T13:59:48.3664224+08:00;True|2021-12-24T19:18:19.0736393+08:00;True|2021-12-24T16:46:49.1192015+08:00;True|2021-12-24T16:23:28.9214784+08:00;True|2021-12-24T15:20:08.6401847+08:00;True|2021-12-17T19:11:07.1655146+08:00;True|2021-12-12T14:11:08.8380502+08:00;</History>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions IoTGateway/Views/Login/Login.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
<ul class="loginForm">
<li>
<i><img src="~/images/icon-login04.png" /></i>
<input type="text" name="ITCode" placeholder="admin" class="login-input" autocomplete="off" value="@Model.ITCode">
</li>@*@Model.Localizer["Login.InputUserName"]*@
<input type="text" name="ITCode" placeholder="@Model.Localizer["Login.InputUserName"]" class="login-input" autocomplete="off" value="admin">
</li>
<li>
<i style="width: 16px;"><img src="~/images/icon-login01.png" /></i>
<input type="password" name="Password" placeholder="000000" class="login-input" value="@Model.Password">
</li>@*@Model.Localizer["Login.InputPassword"]*@
<input type="password" name="Password" placeholder="@Model.Localizer["Login.InputPassword"]" class="login-input" value="000000">
</li>
<li>
<i><img src="~/images/icon-login03.png" /></i>
<input type="text" name="VerifyCode" placeholder="@Model.Localizer["Login.InputValidation"]" class="login-input">
Expand Down
Binary file modified IoTGateway/iotgateway.db
Binary file not shown.
Binary file modified iotgateway.db
Binary file not shown.

0 comments on commit 7f59e9a

Please sign in to comment.