Skip to content

Commit

Permalink
enable google login
Browse files Browse the repository at this point in the history
  • Loading branch information
rwecho committed Jan 3, 2024
1 parent 0697de7 commit fa7ffac
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/V2ex.Blazor.Shared/Pages/Account/Login.razor
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,10 @@
}
</div>
</div>
@if (AppConstants.IsDebug)
{
// todo: implement google login.
<div class="flex flex-row">
<button type="button" class="ml-auto underline underline-offset-1"
@onclick="LoginWithGoogle">使用 Google 登录</button>
</div>
}


<div class="flex flex-row">
<button type="button" class="ml-auto underline underline-offset-1"
@onclick="LoginWithGoogle">使用 Google 登录</button>
</div>
@if (!string.IsNullOrEmpty(Error))
{
<div class="p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400"
Expand Down

0 comments on commit fa7ffac

Please sign in to comment.